Skip to content

Latest commit

 

History

History

react-guitar-theme-coco

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

React-Guitar Theme Coco · npm version

A react-guitar theme from the film Coco.

See https://react-guitar.com?theme=coco for a live demo.

Screenshot of the rendered component with an E major chord

Usage

npm i react-guitar react-guitar-theme-coco
import React from 'react'
import { render } from 'react-dom'
import Guitar from 'react-guitar'
import coco from 'react-guitar-theme-coco'

render(
  <Guitar strings={[0, 1, 2, 2, 0, -1]} theme={coco} />,
  document.getElementById('root')
)

Developing

  • yarn start will watch.
  • yarn build will generate the production scripts under the dist folder.