@livetiles/reach-components-react
TypeScript icon, indicating that this package has built-in type declarations

0.4.132 • Public • Published

Reach Components React

The Reach Components for React allows one to render data from LiveTiles Reach in custom third party web applications.

Getting Started

$ npm i reach-components-react

const App = () => {
    const token = "A JWT bearer token";
    const subscriptionId = "the subscription ID";
    const itemId = "some item ID";

    return (
        <ReachContextProvider
          subscriptionId={subscriptionId}
          onRequestToken={async () => token}
        >
          <NewsDetail itemId={itemId} />
        </ReachContextProvider>
    )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @livetiles/reach-components-react

Weekly Downloads

309

Version

0.4.132

License

none

Unpacked Size

17 MB

Total Files

213

Last publish

Collaborators

  • cycl