reactdrawstream
v0.1.0
Published
drawing on canvas returning a stream
Downloads
2
Readme
React Canvas Draw Stream
Base on https://github.com/embiem/react-canvas-draw
Instalation
Install Via NPM:
npm install --save reactdrawstream
Usage
import import {ReactDrawStream} from 'reactdrawstream';
...
<ReactDrawStream onGetStream={(stream) => {
sendStream(stream)
}} />
...
props
- onGetStream: function called once the stream is ready Please reefer to : it also inherits all of the props listed on: https://github.com/embiem/react-canvas-draw#props