@clikvn/chatbot-embedded-react
v0.0.4
Published
React library to display clik chatbot on your website
Downloads
11
Keywords
Readme
Clik Embed React
React library to display clik chatbot on your website
Install
npm install @clikvn/chatbot-embedded @clikvn/chatbot-embedded-react
or
yarn add @clikvn/chatbot-embedded @clikvn/chatbot-embedded-react
Import
Full Page Chat
import { FullPageChat } from "@clikvn/chatbot-embedded-react";
const App = () => {
return (
<FullPageChat
chatflowid="your-chatflow-id"
apiHost="http://localhost:3000"
/>
);
};
Popup Chat
import { BubbleChat } from "@clikvn/chatbot-embedded-react";
const App = () => {
return (
<BubbleChat chatflowid="your-chatflow-id" apiHost="http://localhost:3000" />
);
};