JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4821
  • Score
    100M100P100Q123738F
  • License MIT

React component implementation of Drift Chatbot Widget

Package Exports

  • react-driftjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-driftjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React-Drift

React component implementation of Drift Chatbot Widget

Alt Text

Install

npm install react-driftjs

Usage

import Drift from 'react-driftjs'

<Drift appId="xxxxx" />  //get the appId from drift.com

Identify User

<Drift appId="xxxxx" 
  userId="1234"
  attributes={{ email: "user@example.com", company: "Acme Inc" }}
/>
  

More information can be found here: https://www.drift.com/

License

MIT