UNPKG

flowise-embed-oc

Version:

Javascript library to display flowise chatbot on your website

27 lines 942 B
import { IAction, MessageType } from '../Bot'; import { DateTimeToggleTheme } from '@/features/bubble/types'; type Props = { message: MessageType; chatflowid: string; chatId: string; apiHost?: string; onRequest?: (request: RequestInit) => Promise<void>; fileAnnotations?: any; showAvatar?: boolean; avatarSrc?: string; backgroundColor?: string; textColor?: string; chatFeedbackStatus?: boolean; fontSize?: number; feedbackColor?: string; isLoading: boolean; dateTimeToggle?: DateTimeToggleTheme; showAgentMessages?: boolean; sourceDocsTitle?: string; renderHTML?: boolean; handleActionClick: (label: string, action: IAction | undefined | null) => void; handleSourceDocumentsClick: (src: any) => void; }; export declare const BotBubble: (props: Props) => import("solid-js").JSX.Element; export {}; //# sourceMappingURL=BotBubble.d.ts.map