0.1.2 • Published 7 years ago
@ohtomi/react-whiteboard v0.1.2
react-whiteboard
Description
A whiteboard React component using SVG.
How to use
render() {
return (
<Whiteboard
events={new EventStream()} eventStore={new EventStore()}
width={800} height={600}
style={{backgroundColor: 'lightyellow'}}
/>
);
}See examples.
How to build
$ npm install
$ npm run buildContributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
License
MIT