Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Mergifyio/react-crisp
React implementation for Crisp
https://github.com/Mergifyio/react-crisp
crisp react
Last synced: 2 months ago
JSON representation
React implementation for Crisp
- Host: GitHub
- URL: https://github.com/Mergifyio/react-crisp
- Owner: Mergifyio
- License: apache-2.0
- Archived: true
- Created: 2020-10-23T09:04:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T07:17:51.000Z (over 3 years ago)
- Last Synced: 2024-08-01T02:34:21.378Z (5 months ago)
- Topics: crisp, react
- Language: JavaScript
- Homepage: https://github.com/Mergifyio/react-crisp
- Size: 5.16 MB
- Stars: 10
- Watchers: 5
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![Mergify Status][mergify-status]][mergify]
[mergify]: https://mergify.io
[mergify-status]: https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/Mergifyio/react-crisp&style=flat# ⚠️ Repository Status ⚠️
This repository is not maintained anymore.
# React-Crisp
React implementation for the messaging application [Crisp](https://crisp.chat/)
# Install
```shell
npm add react-crisp
or
yarn add react-crisp
```# Usage
```javascript
/* Import the component */
import Crisp from 'react-crisp';/* Insert the componenent */
```
# Identify the user and assign attributes
```javascript
```
For a complete list of attributes please see the [Crisp's Docs](https://help.crisp.chat/en/article/how-to-use-dollarcrisp-javascript-sdk-10ud15y/#2-set-a-value).
# Configuration
```javascript
```
For a complete list of parameters please see the [Crisp's Docs](https://help.crisp.chat/en/article/how-to-use-dollarcrisp-javascript-sdk-10ud15y/#2-changes-runtime-configuration).# Safe mode
To prevent Crisp to emit errors when an exception occurs, you may enable the Safe Mode (see [Crisp's Docs](https://help.crisp.chat/en/article/how-to-use-dollarcrisp-javascript-sdk-10ud15y/#1-disable-warnings-amp-errors). With `react-crisp` it's done like this:
```javascript```
# Set `CRISP_RUNTIME_CONFIG`
```javascript
```
For more details about the variable `CRISP_RUNTIME_CONFIG` see [Crisp's Docs](https://help.crisp.chat/en/).