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 fd3733e835 Improve key offsets преди 3 години
.storybook Initial commit преди 3 години
src Improve key offsets преди 3 години
.editorconfig Initial commit преди 3 години
.gitignore Update storybook преди 3 години
.prettierrc Initial commit преди 3 години
LICENSE Initial commit преди 3 години
README.md Initial commit преди 3 години
package.json Initial commit преди 3 години
tsconfig.json Initial commit преди 3 години
yarn.lock Initial commit преди 3 години

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.