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 b6ea02a3ad Add keyboard map пре 4 година
.storybook Add keyboard map пре 4 година
src Add keyboard map пре 4 година
.editorconfig Initial commit пре 4 година
.gitignore Fix metrics, SSR support пре 4 година
.npmignore Update dependency list пре 4 година
.prettierrc Initial commit пре 4 година
LICENSE Initial commit пре 4 година
README.md Initial commit пре 4 година
package.json Fix metrics, SSR support пре 4 година
tsconfig.json Make accidentals more prominent пре 4 година
yarn.lock Remove extraneous dependency пре 4 година

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.