Interactive preview
Prompt composer React Native demo
Collect a prompt with send and stop actions.
The host owns the text and clears it after submit. Send is disabled until the trimmed prompt fits maxLength; Stop appears only while pending.
Collect a prompt with send and stop actions.
The host owns the text and clears it after submit. Send is disabled until the trimmed prompt fits maxLength; Stop appears only while pending.