Hiyve Components - v1.0.0
    Preparing search index...

    Props for the ChatInput component.

    interface ChatInputProps {
        colors?: Partial<ChatPanelColors>;
        disabled?: boolean;
        icons?: Partial<ChatPanelIcons>;
        maxLength?: number;
        onError?: (error: Error) => void;
        onSend: (content: string) => void;
        placeholder?: string;
        styles?: Partial<ChatPanelStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<ChatPanelColors>

    Custom colors

    disabled?: boolean

    Whether the input is disabled

    icons?: Partial<ChatPanelIcons>

    Custom icons

    maxLength?: number

    Maximum message length (default: CHAT_CONFIG.MAX_MESSAGE_LENGTH)

    onError?: (error: Error) => void

    Callback fired when an error occurs during message send

    onSend: (content: string) => void

    Callback fired when user sends a message

    placeholder?: string

    Placeholder text for the input field

    styles?: Partial<ChatPanelStyles>

    Custom styles

    sx?: SxProps<Theme>

    MUI sx styling prop