TheoryOfNekomata aafaf3e10d | pirms 4 gadiem | |
---|---|---|
.storybook | pirms 4 gadiem | |
src | pirms 4 gadiem | |
.editorconfig | pirms 4 gadiem | |
.gitignore | pirms 4 gadiem | |
.prettierrc | pirms 4 gadiem | |
LICENSE | pirms 4 gadiem | |
README.md | pirms 4 gadiem | |
package.json | pirms 4 gadiem | |
tsconfig.json | pirms 4 gadiem | |
yarn.lock | pirms 4 gadiem |
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.