Musical keyboard component written in React.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
TheoryOfNekomata d9eb01b7ea Make function prototypes rigid 3 år sedan
.storybook Initial commit 3 år sedan
src Make function prototypes rigid 3 år sedan
.editorconfig Initial commit 3 år sedan
.gitignore Fix metrics, SSR support 3 år sedan
.npmignore Update dependency list 3 år sedan
.prettierrc Initial commit 3 år sedan
LICENSE Initial commit 3 år sedan
README.md Initial commit 3 år sedan
package.json Fix metrics, SSR support 3 år sedan
tsconfig.json Make accidentals more prominent 3 år sedan
yarn.lock Remove extraneous dependency 3 år sedan

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.