Musical keyboard component written in React.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
TheoryOfNekomata d8163ebe7f Remove width dependency 4 vuotta sitten
.storybook Initial commit 4 vuotta sitten
src Remove width dependency 4 vuotta sitten
.editorconfig Initial commit 4 vuotta sitten
.gitignore Update storybook 4 vuotta sitten
.npmignore Update dependency list 4 vuotta sitten
.prettierrc Initial commit 4 vuotta sitten
LICENSE Initial commit 4 vuotta sitten
README.md Initial commit 4 vuotta sitten
package.json Improve memoization 4 vuotta sitten
tsconfig.json Initial commit 4 vuotta sitten
yarn.lock Remove extraneous dependency 4 vuotta sitten

README.md

Musical Keyboard

Musical keyboard component written in React.

Installation

yarn add @theoryofnekomata/react-musical-keyboard

Usage

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)

License

MIT. See License file for details.