Skip to content

telegraph-notify/frontend-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React SDK for Telegraph

The React SDK is used for displaying In-App notifications and for users to change their notification preferences.

Table of Contents

Quick Start

Install the React SDK from npm.

$ npm i @telegraph-notify/frontend-sdk

Then import and mount the notification component in your top-level components.

import { TelegraphInbox } from "@telegraph-notify/frontend-sdk";

<App>
  <TelegraphInbox
    user_id={<USER_ID>} // The unique identifier of the logged in user
    userHash={<USER_HMAC>} // The hashed user_id
    websocketUrl={<WEBSOCKET_GATEWAY_URL>} // The websocket gateway url
  />
</App>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors