Chat Composer
Rich text input for composing chat messages with send action.
Generado a partir del código fuente público del paquete.
API
AttachButtoncomponente
AttachButton(props: ChatComposerAttachButtonProps): Element
Propiedades
class?stringonClick?() => void— Called when the attach action is triggered.style?string | CSSProperties
hijos: Element
ChatComposerAttachButtonPropsinterfaz
Propiedades
class?stringonClick?() => void— Called when the attach action is triggered.style?string | CSSProperties
hijos: Element
ChatComposerInputPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
ChatComposerRootPropsinterfaz
Propiedades
class?stringdefaultValue?string— Default uncontrolled value.disabled?boolean— Disable the composer.maxLength?number— Max character length.onSubmit?(message: string) => void— Callback when a message is submitted.onValueChange?(value: string) => void— Called when value changes.placeholder?string— Placeholder text for the input.style?string | CSSPropertiesvalue?Accessor<string>— Controlled value.
hijos: Element
ChatComposerSendButtonPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Inputcomponente
Input(props: ChatComposerInputProps): Element
Propiedades
class?stringstyle?string | CSSProperties
Rootcomponente
Root(props: ChatComposerRootProps): Element
Propiedades
class?stringdefaultValue?string— Default uncontrolled value.disabled?boolean— Disable the composer.maxLength?number— Max character length.onSubmit?(message: string) => void— Callback when a message is submitted.onValueChange?(value: string) => void— Called when value changes.placeholder?string— Placeholder text for the input.style?string | CSSPropertiesvalue?Accessor<string>— Controlled value.
hijos: Element
SendButtoncomponente
SendButton(props: ChatComposerSendButtonProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element