DocsReact UIui-componentsInputComposerProps
Package: @hexos/react-ui

Props 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[]) => void

placeholder

string

disabled

boolean

enableAttachments

boolean

enableVoice

boolean

maxLength

number

className

string

value

string

onChange

(value: string) => void