Import

import { BotStacksChatProvider } from "@botstacks/chat-react";

Props

NameTypeDefaultDescription
childrennodeThe content of the app
apiKeystringThe API Key for the chat project
darkModebooleanfalseSet to true to enable dark mode
assetsAssets{}

The object containing various assets to be used. Only applicable when using the BotStacksChatUI component.

themesThemesDefault themes

The object containing various assets to be used. Only applicable when using the BotStacksChatUI component.