mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-18 02:03:09 +00:00
Use shared chat UI in Foundry
This commit is contained in:
parent
b609f1ab2b
commit
0ec470d494
8 changed files with 316 additions and 224 deletions
|
|
@ -225,4 +225,11 @@ export function ConversationPane({
|
|||
}
|
||||
```
|
||||
|
||||
Useful `ChatComposer` props:
|
||||
|
||||
- `className` and `classNames` for external styling
|
||||
- `inputRef` to manage focus or autoresize from the consumer
|
||||
- `textareaProps` for lower-level textarea behavior
|
||||
- `allowEmptySubmit` when the submit action is valid without draft text, such as a stop button
|
||||
|
||||
Use `transcriptProps` and `composerProps` when you want the shared composition but still need custom rendering or behavior. Use `transcriptClassNames` and `composerClassNames` when you want styling hooks for each subcomponent.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue