TheoryOfNekomata bc2c997c93 | 4 年前 | |
---|---|---|
.storybook | 4 年前 | |
src | 4 年前 | |
.editorconfig | 4 年前 | |
.gitignore | 4 年前 | |
.npmignore | 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.