Musical keyboard component written in React.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
TheoryOfNekomata d9eb01b7ea Make function prototypes rigid 3 лет назад
.storybook Initial commit 3 лет назад
src Make function prototypes rigid 3 лет назад
.editorconfig Initial commit 3 лет назад
.gitignore Fix metrics, SSR support 3 лет назад
.npmignore Update dependency list 3 лет назад
.prettierrc Initial commit 3 лет назад
LICENSE Initial commit 3 лет назад
README.md Initial commit 3 лет назад
package.json Fix metrics, SSR support 3 лет назад
tsconfig.json Make accidentals more prominent 3 лет назад
yarn.lock Remove extraneous dependency 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.