TheoryOfNekomata 91148b4229 | il y a 4 ans | |
---|---|---|
.storybook | il y a 4 ans | |
src | il y a 4 ans | |
.editorconfig | il y a 4 ans | |
.gitignore | il y a 4 ans | |
.npmignore | il y a 4 ans | |
.prettierrc | il y a 4 ans | |
LICENSE | il y a 4 ans | |
README.md | il y a 4 ans | |
package.json | il y a 4 ans | |
tsconfig.json | il y a 4 ans | |
yarn.lock | il y a 4 ans |
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.