Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 693 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 693 Bytes

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