ArchiveThread
The original conversation kept beside an editable search.
Original conversation · 2 messages
You
Find ICU nurses in Texas.Copilot
I found three candidates.Example
<ArchiveThread
count={2}
messages={[
{ id: '1', who: 'You', mine: true, body: 'Find ICU nurses in Texas.' },
{ id: '2', who: 'Copilot', body: 'I found three candidates.' },
]}
/>
Props
| Prop | Type | |
|---|---|---|
count | number | Shown next to the heading. |
pending | boolean | |
error | boolean | |
onRetry | () => void | |
earlierLabel | string | |
onEarlier | () => void | |
earlierDisabled | boolean | |
messages | ArchiveMessage[] | { id, who, mine?, body }. |
summary | ReactNode | |
empty | boolean | No original messages were saved. |
Render it inside SourcingTheme so the Nova tokens apply.