BetaBeta pública — Consulta las notas de lanzamiento
Documentación

Chat Composer

Rich text input for composing chat messages with send action.

Paquete
@solidiom/chat-composer
Versión
0.6.0
Estado
experimental

Generado a partir del código fuente público del paquete.

API

AttachButtoncomponente

                        AttachButton(props: ChatComposerAttachButtonProps): Element
                      

Propiedades

class?
string
onClick?
() => void — Called when the attach action is triggered.
style?
string | CSSProperties

hijos: Element

Ver código fuente

ChatComposerAttachButtonPropsinterfaz

Propiedades

class?
string
onClick?
() => void — Called when the attach action is triggered.
style?
string | CSSProperties

hijos: Element

Ver código fuente

ChatComposerInputPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

Ver código fuente

ChatComposerRootPropsinterfaz

Propiedades

class?
string
defaultValue?
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 | CSSProperties
value?
Accessor<string> — Controlled value.

hijos: Element

Ver código fuente

ChatComposerSendButtonPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Inputcomponente

                        Input(props: ChatComposerInputProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

Ver código fuente

Rootcomponente

                        Root(props: ChatComposerRootProps): Element
                      

Propiedades

class?
string
defaultValue?
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 | CSSProperties
value?
Accessor<string> — Controlled value.

hijos: Element

Ver código fuente

SendButtoncomponente

                        SendButton(props: ChatComposerSendButtonProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente