tsimport {ChatLayout} from '@astryxdesign/core/Chat'
| Guidance | Practices |
|---|---|
| Do | Pass ChatMessageList as children and ChatComposer as the composer prop for a complete chat interface. |
| Do | Provide an emptyState so new conversations show a prompt instead of a blank screen. |
| Do | Use scrollRef when the chat is embedded in a page where a parent element handles scrolling. |
| Don't | Don't apply a fixed height on the layout; let it fill its container with flex: 1. |
| Don't | Don't render multiple ChatLayout instances in the same scroll container; each expects to own its scroll context. |