UNPKG

@botonic/react

Version:

Build Chatbots using React

20 lines (19 loc) 850 B
import { PersistentMenuOptionsTheme, WebchatTheme } from '../webchat/theme/types'; import { BlockInputOption } from './index-types'; export interface WebchatSettingsProps { blockInputs?: BlockInputOption[]; enableAnimations?: boolean; enableAttachments?: boolean; enableEmojiPicker?: boolean; enableUserInput?: boolean; persistentMenu?: PersistentMenuOptionsTheme; theme?: Partial<WebchatTheme>; user?: { extra_data?: any; country?: string; locale?: string; system_locale?: string; }; } export declare const WebchatSettings: ({ theme, blockInputs, persistentMenu, enableEmojiPicker, enableAttachments, enableUserInput, enableAnimations, user, }: WebchatSettingsProps) => any; export declare const normalizeWebchatSettings: (settings: WebchatSettingsProps) => Partial<WebchatTheme>;