TheoryOfNekomata e01d9d55c2 | 4 anni fa | |
---|---|---|
.storybook | 4 anni fa | |
src | 4 anni fa | |
.editorconfig | 4 anni fa | |
.gitignore | 4 anni fa | |
.npmignore | 4 anni fa | |
.prettierrc | 4 anni fa | |
LICENSE | 4 anni fa | |
README.md | 4 anni fa | |
package.json | 4 anni fa | |
tsconfig.json | 4 anni fa | |
yarn.lock | 4 anni fa |
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.