API reference: @salmonui/chat/inline-assist
InlineAssistComposerRenderPropsinterface
import type { InlineAssistComposerRenderProps } from '@salmonui/chat/inline-assist';interface InlineAssistComposerRenderProps {
readonly value: string;
readonly setValue: (value: string) => void;
readonly send: (text?: string) => void;
readonly stop: () => void;
readonly responding: boolean;
readonly inputProps: InlineAssistInputProps;
readonly defaultComposer: ReactNode;
}
| Name | Signature | Description |
|---|---|---|
value | readonly value: string; | |
setValue | readonly setValue: (value: string) => void; | |
send | readonly send: (text?: string) => void; | |
stop | readonly stop: () => void; | |
responding | readonly responding: boolean; | A response is pending or streaming. |
inputProps | readonly inputProps: InlineAssistInputProps; | |
defaultComposer | readonly defaultComposer: ReactNode; | The built-in |