@clikvn/chatbot-embedded-react
v0.0.5
Published
React library to display clik chatbot on your website
Downloads
6
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" />
);
};