Package:
@hexos/react-uiProps for the InputComposer component.
interface InputComposerProps {
onSubmit: (content: string, attachments?: Attachment[]) => void;
placeholder?: string;
disabled?: boolean;
enableAttachments?: boolean;
enableVoice?: boolean;
maxLength?: number;
className?: string;
value?: string;
onChange?: (value: string) => void;
}onSubmit
(content: string, attachments?: Attachment[]) => voidplaceholder
stringdisabled
booleanenableAttachments
booleanenableVoice
booleanmaxLength
numberclassName
stringvalue
stringonChange
(value: string) => void