0.1.2 • Published 5 years ago

@ohtomi/react-whiteboard v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

react-whiteboard

npm License Build Status Greenkeeper badge

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 build

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

Author

Kenichi Ohtomi