kozmo-embed-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Kozmo Embed React

React library to display kozmo chatbot on your website

Kozmo

Install

npm install kozmo-embed kozmo-embed-react

or

yarn add kozmo-embed kozmo-embed-react

Import

Full Page Chat

import { FullPageChat } from "kozmo-embed-react";

const App = () => {
  return (
    <FullPageChat
      chatflowid="your-chatflow-id"
      apiHost="http://localhost:3000"
    />
  );
};

Popup Chat

import { BubbleChat } from "kozmo-embed-react";

const App = () => {
  return (
    <BubbleChat chatflowid="your-chatflow-id" apiHost="http://localhost:3000" />
  );
};

Readme

Keywords

none

Package Sidebar

Install

npm i kozmo-embed-react

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

78.7 MB

Total Files

570

Last publish

Collaborators

  • mohamedbench