JSPM

lemons-piano

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q61378F
  • License MIT

Package Exports

  • lemons-piano
  • lemons-piano/dist/lemons-piano.es.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lemons-piano) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

lemons-piano
An out-of-the-box react piano component

📦安装

npm install lemons-piano

🔨用法

//引入组件
import Piano from 'lemons-piano'
//引入组件所使用的样式
import 'lemons-piano/dist/style.css'

function App() {
  
  return (
    <div className="App">
      {<!--直接使用组件即可-->}
      <Piano></Piano>
    </div>
  )
}

export default App