react-vexflow

0.0.4 • Public • Published

react-vexflow

React components for VexFlow

NPM JavaScript Style Guide

Install

npm install --save react-vexflow

Usage

import React from 'react'
 
import { Score } from 'react-vexflow'
 
function Example() {
  return (
    <Score
      staves={[
        ['g3', 'd4', 'e4', 'd4'],
        ['a4', 'd4', 'e4', 'd4'],
        ['a4', 'a4', 'b4', 'a4'],
        ['d4', 'e4', ['g3', 2]],
      ]}
    />
  )
}

License

MIT © markacola

/react-vexflow/

    Package Sidebar

    Install

    npm i react-vexflow

    Weekly Downloads

    14

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    3.3 MB

    Total Files

    6

    Last publish

    Collaborators

    • markacola