1.3.0 • Published 4 years ago

immersive-reader v1.3.0

Weekly downloads
2
License
AGPL-3.0-or-later
Repository
github
Last release
4 years ago

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.