TheoryOfNekomata 25ef42763f | 4 年之前 | |
---|---|---|
.storybook | 4 年之前 | |
src | 4 年之前 | |
.editorconfig | 4 年之前 | |
.gitignore | 4 年之前 | |
.prettierrc | 4 年之前 | |
LICENSE | 4 年之前 | |
README.md | 4 年之前 | |
package.json | 4 年之前 | |
tsconfig.json | 4 年之前 | |
yarn.lock | 4 年之前 |
Musical keyboard component written in React.
yarn add @theoryofnekomata/react-musical-keyboard
import * as React from 'react'
import ReactDOM from 'react-dom'
import Keyboard from '@theoryofnekomata/react-musical-keyboard'
const App = () => {
return (
<div>
<Keyboard startKey={21} endKey={108}/>
</div>
)
}
const container = window.document.createElement('div')
ReactDOM.render(<App />, container)
window.document.body.appendChild(container)
MIT. See License file for details.