0.0.14 • Published 2 years ago

@netless/react-native-whiteboard v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@netless/react-native-whiteboard

interactive whiteboard for react-native

TSC pages-build-deployment

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