@bootdesk/js-web-adapter-react
    Preparing search index...

    Interface ChatWidgetProps

    interface ChatWidgetProps {
        accept?: string;
        className?: {
            container?: string;
            header?: string;
            inputArea?: string;
            messageList?: string;
        };
        client: WebChatClient;
        embedded?: boolean;
        enableAttachments?: boolean;
        floatingButton?: {
            ariaLabel?: string;
            backgroundColor?: string;
            badgeCount?: number;
            className?: string;
            icon?: ReactNode;
            openIcon?: ReactNode;
            size?: number;
        };
        initialMode?: DisplayMode;
        locale?: string;
        maxFileSize?: number;
        onChatStart?: (config?: ReconfigureConfig) => void;
        onClose?: () => void;
        onOpen?: () => void;
        onThemeChange?: (theme: ThemeMode) => void;
        placeholder?: string;
        position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
        preEntry?: PreEntryConfig;
        pushConfig?: {
            getVapidPublicKey: () => Promise<string>;
            notificationOptions?: {
                badge?: string;
                icon?: string;
                requireInteraction?: boolean;
                sound?: string;
            };
            onSubscribe: (subscription: PushSubscriptionJSON) => Promise<void>;
            onUnsubscribe: (subscription: PushSubscriptionJSON) => Promise<void>;
            serviceWorkerScope?: string;
            serviceWorkerType?: "classic" | "module";
            serviceWorkerUrl?: string;
        };
        renderPushPrompt?: () => ReactNode;
        showClose?: boolean;
        showFullscreenToggle?: boolean;
        theme?: ThemeMode;
        title?: string;
        uploadConfig?: UploadConfig;
    }
    Index

    Properties

    accept?: string
    className?: {
        container?: string;
        header?: string;
        inputArea?: string;
        messageList?: string;
    }
    embedded?: boolean
    enableAttachments?: boolean
    floatingButton?: {
        ariaLabel?: string;
        backgroundColor?: string;
        badgeCount?: number;
        className?: string;
        icon?: ReactNode;
        openIcon?: ReactNode;
        size?: number;
    }
    initialMode?: DisplayMode
    locale?: string
    maxFileSize?: number
    onChatStart?: (config?: ReconfigureConfig) => void
    onClose?: () => void
    onOpen?: () => void
    onThemeChange?: (theme: ThemeMode) => void
    placeholder?: string
    position?: "bottom-right" | "bottom-left" | "top-right" | "top-left"
    preEntry?: PreEntryConfig
    pushConfig?: {
        getVapidPublicKey: () => Promise<string>;
        notificationOptions?: {
            badge?: string;
            icon?: string;
            requireInteraction?: boolean;
            sound?: string;
        };
        onSubscribe: (subscription: PushSubscriptionJSON) => Promise<void>;
        onUnsubscribe: (subscription: PushSubscriptionJSON) => Promise<void>;
        serviceWorkerScope?: string;
        serviceWorkerType?: "classic" | "module";
        serviceWorkerUrl?: string;
    }
    renderPushPrompt?: () => ReactNode
    showClose?: boolean
    showFullscreenToggle?: boolean
    theme?: ThemeMode
    title?: string
    uploadConfig?: UploadConfig