@netless/react-native-whiteboard
interactive whiteboard for react-native
Installation
1. Add dependencies
$ npm install --save react-native-webview
$ npm install --save @netless/react-native-whiteboard
2. Link native dependencies
From react-native 0.60 autolinking will take care of the link step but don't forget to run pod install
Usage
import { WhiteboardView } from '@netless/react-native-whiteboard';
<WhiteboardView
sdkConfig={{
appIdentifier: 'some-appIdentifier'
}}
roomConfig={{
uid: 'some-uid',
uuid: 'some-uuid',
roomToken: 'some-token'
}}
/>
For more api details, can see typedoc here
Contributing
Suggest to submit pr or issue.
License
MIT