HistoryList
A paged list of saved rows. It defaults to conversations. Pass pendingLabel and listLabel for another list, such as saved searches.
Example
<HistoryList
rows={[
{ id: '1', title: 'ICU nurses in Texas', when: 'Today', onOpen: open },
{ id: '2', title: 'Go engineers in Austin', when: 'Yesterday', onOpen: open },
]}
/>
Props
| Prop | Type | |
|---|---|---|
rootRef | Ref | |
error | string | |
onRetry | () => void | |
pending | boolean | |
pendingLabel | string | Default Loading conversations…. |
listLabel | string | Accessible name. Default Conversations. |
empty | string | |
busy | boolean | |
rows | HistoryRow[] | { id, title, when?, dateTime?, disabled?, onOpen }. |
footer | object | { label, pages, previousDisabled, nextDisabled, onPrevious, onNext, onPage }. pages are { id, label, current, gapBefore? }. |
Render it inside SourcingTheme so the Nova tokens apply.