shiza-developer-chat-embed
Version:
Javascript library to display SHIZA Developer chatbot on your website
27 lines • 909 B
TypeScript
import { IAction, MessageType } from '../Bot';
import { DateTimeToggleTheme } from '@/features/bubble/types';
type Props = {
message: MessageType;
nexusId: 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: (elem: any, 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