Valora
API Reference@valora-ai/reactindexInterfaces

ComposerProps

Defined in: packages/react/src/chat.tsx:94

Properties

onSend?

optional onSend?: (text) => void;

Defined in: packages/react/src/chat.tsx:96

Submit handler — receives the trimmed text; the input clears.

Parameters

ParameterType
textstring

Returns

void


placeholder?

optional placeholder?: string;

Defined in: packages/react/src/chat.tsx:98

Placeholder. Default "Message Valora…".

On this page

Valora is local-first

No API key, no server — everything in this doc runs on-device.

Star on GitHub