TheoryOfNekomata 749af59041 | 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.