1.0.25 • Published 18 days ago

providesupport-live-chat-window-react v1.0.25

Weekly downloads
-
License
MIT
Repository
-
Last release
18 days ago

Provide Support Live Chat component for React.js

This component is designed to add Provide Support Live Chat widget to a web application.

To use it you need to have an account in Provide Support Live Chat system.

Demo

Minimal demo

Demo in which the button is located in different places

Installing / Getting started

This package is available in NPM repository as providesupport-live-chat-window-react. It works correctly with all popular bundlers.

npm install providesupport-live-chat-window-react --save

Include the Component

To start using live chat with React.js, import LiveChat component from the providesupport-live-chat-window-react package and pass your Provide Support account name or account hash as "company" parameter.

import React from 'react';
import { LiveChat } from 'providesupport-live-chat-window-react';

export default () => (
  <div className="app">
    <LiveChat company="account_name_or_hash" />
  </div>
);

The LiveChat component should be as close to the root of the application as possible since it contains an iframe.

LiveChat Props

Prop nameDescriptionIs requiredDefault value
companyAccount name specified during registrationn/a
isUploadAfterDocumentLoadedLoad chat button after page loadstrue
(...otherParams)All other parameters will be passed to the banner download URLn/a
1.0.19

19 days ago

1.0.18

19 days ago

1.0.22

19 days ago

1.0.21

19 days ago

1.0.20

19 days ago

1.0.25

18 days ago

1.0.24

18 days ago

1.0.23

19 days ago

1.0.17

20 days ago

1.0.16

20 days ago

1.0.15

22 days ago

1.0.14

25 days ago

1.0.13

25 days ago

1.0.12

25 days ago

1.0.11

1 month ago

1.0.10

2 months ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

5 months ago

1.0.2

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago