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.