0.1.0 • Published 5 years ago
reactdrawstream v0.1.0
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