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 5ec0850e48 Export styled keys 3 years ago
.storybook Initial commit 3 years ago
src Export styled keys 3 years ago
.editorconfig Initial commit 3 years ago
.gitignore Update storybook 3 years ago
.prettierrc Initial commit 3 years ago
LICENSE Initial commit 3 years ago
README.md Initial commit 3 years ago
package.json Improve component styling 3 years ago
tsconfig.json Initial commit 3 years ago
yarn.lock Improve component styling 3 years ago

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.