drewwebster / immersive-reader

Immersive Reader React JS Component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Immersive Reader - ReactJS Component Wrapper

Sample project to show how Immersive Reader SDK can be used within ReactJS app. The Immersive Reader SDK is a set of libraries that allow you to easily and quickly integrate the Immersive Reader into your application.

Usage:

npm install immersive-reader

Reference in your code:

<ImmersiveReader text={this.state.text} title={this.state.title} locale={this.state.locale} tokenURL={this.state.TokenURL}>

The code would render a button which invokes Immersive Reader. See how it looks on DTML Platform: https://dtml.org

Parameters:

  • text: text to render within immersive reader
  • title: title of the text to render within immersive reader
  • locale: locale for the button text
  • tokenURL: Immersive Reader needs a token to authorize calls to Azure Congnitive Services Immersive Reader endpoint. The token endpoint should be setup as a backend service based on this instructions.

About

Immersive Reader React JS Component

License:GNU General Public License v3.0


Languages

Language:TypeScript 84.7%Language:JavaScript 15.3%