Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Mergifyio/react-crisp

React implementation for Crisp
https://github.com/Mergifyio/react-crisp

crisp react

Last synced: about 2 months ago
JSON representation

React implementation for Crisp

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/).