File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# React Live Chat Loader
22
33<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4+
45[ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square )] ( #contributors- )
6+
57<!-- ALL-CONTRIBUTORS-BADGE:END -->
68
79An npm module that allows you to mitigate the negative performance and user
@@ -126,7 +128,7 @@ You can pass the following props to the `LiveChatLoaderProvider` provider:
126128
127129## Supported Providers
128130
129- Currently there are five supported providers:
131+ Currently there are six supported providers:
130132
131133<details >
132134<summary >Help Scout</summary >
@@ -305,6 +307,35 @@ You can customise the Userlike Widget by passing the following props to the
305307
306308</details >
307309
310+ <details >
311+ <summary > Chatwoot </summary >
312+
313+ To use Chatwoot import the ` LiveChatLoaderProvider ` and set the ` provider ` prop
314+ as ` chatwoot ` and the ` providerKey ` prop as your Chatwoot secret.
315+
316+ Then import the ` Chatwoot ` component.
317+
318+ ``` jsx
319+ import { LiveChatLoaderProvider , Chatwoot } from ' react-live-chat-loader'
320+
321+ export default () => (
322+ < LiveChatLoaderProvider
323+ providerKey= " E33wn9ftxMDHZx18AaBkfPvY"
324+ provider= " chatwoot"
325+ >
326+ /* ... */
327+ < Chatwoot / >
328+ < / LiveChatLoaderProvider>
329+ )
330+ ```
331+
332+ You can customise the Chatwoot Widget by passing the following props to the
333+ ` Chatwoot ` component:
334+
335+ - ` color ` : The background color, set to same color value you choose in Chatwoot dashboard.
336+
337+ </details >
338+
308339## Adding a provider
309340
310341To contribute a new provider, follow these steps:
You can’t perform that action at this time.
0 commit comments