Skip to content

@sqlrooms/ai-core / ChatComposerSend

Variable: ChatComposerSend

const ChatComposerSend: ForwardRefExoticComponent<Omit<ActionButtonProps, "onActivate"> & object & RefAttributes<HTMLButtonElement>>

Sends the current prompt on activation.

Self-hiding: renders null while a run is in flight — use Stop for that state. Disabled whenever useChatComposer's canSend is false.