Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 604 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 604 Bytes

opentok-react-whiteboard

React shared whiteboard that works with Opentok

Installation

npm:

npm i opentok-react-whiteboard

yarn :

yarn add opentok-react-whiteboard

or clone this repo.

Example

<OTSession
  apiKey={this.props.apiKey}
  sessionId={this.props.sessionId}
  token={this.props.token}
  eventHandlers={this.sessionEvents}
  onError={this.onError}
>
  <OTWhiteBoard />
</OTSession>

Demo

git clone https://github.com/MedElfadhelELHACHEMI/opentok-react-whiteboard.git
yarn
yarn run example