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
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