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.
 
 
 
 

10 line
320 B

  1. import * as React from 'react'
  2. import * as ReactDOM from 'react-dom'
  3. import { Default as Keyboard } from './Keyboard.stories';
  4. it('renders without crashing', () => {
  5. const div = document.createElement('div');
  6. ReactDOM.render(<Keyboard startKey={21} endKey={108}/>, div);
  7. ReactDOM.unmountComponentAtNode(div);
  8. });