0.0.5 • Published 1 year ago

react-enchanted v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

React Enchanted

React wrapper package for the Enchanted widget integration.

Use this guide to learn how to integrate Enchanted's feedback widget into your project and start collecting feedback on Enchanted.

Please note that we're constantly updating this project, so always be keen on updating this package to the newest release to stay up-to-date with new features.

Installation

npm install react-enchanted

Use / Example

import { init, identify } from "react-enchanted";

init("[pid]", callback);

identify({
  "identifier": 1, // optional
  "name": "John Doe", // required
  "picture": "https://...",  // optional
  "properties": { // optional
    "email": "johndoe@gmail.com",
    "phone": "123-456-7890"
  }
});

pid represents your Enchanted project ID. This can be found in your settings tab or in the tracking code available in the setup page documentation.

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago