UNPKG

@servicetitan/assist-ui

Version:

ServiceTitan Atlas UI Components

24 lines 1.05 kB
export interface ChatComposerRichProps { message?: string; /** Callback when user submits a message */ onSend?: (text: string) => void; /** Placeholder text for the input */ placeholder?: string; /** Whether the composer is disabled */ disabled?: boolean; /** Additional CSS class name */ className?: string; onChange: (text: string) => void; /** Callback when upload file is selected from menu */ onUploadFile?: () => void; /** Callback when dictate message is selected from menu */ onDictateMessage?: () => void; /** ID for the menu button */ menuButtonId?: string; /** ID for the send icon button */ sendIconId?: string; /** ID for the message input area */ messageInputId?: string; } export declare const ChatComposerRich: ({ message, onSend, onChange, placeholder, disabled, className, onUploadFile, onDictateMessage, messageInputId, sendIconId, }: ChatComposerRichProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=chat-composer-rich.d.ts.map