Skip to content

netless-io/react-native-whiteboard

Repository files navigation

@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'
    }}
    joinRoomCallback={joinRoomCallback}
/>

For more api details, can see typedoc here

Contributing

Suggest to submit pr or issue.

License

MIT

About

Whiteboard implements for react-native

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •