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.