For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.
SearchResultHeader
Customize the header shown above search results.
The SearchResultHeader component is rendered above the search results in the conversation list.
The SearchResultHeader component receives the following props:
| Name | Type | Description |
|---|---|---|
| type | "conversations" or "messages" | Whether it's the header for conversation or message results |
| hasMoreResults | boolean | Whether there are more search results available to load |
| hasMoreThanInitialResults | boolean | Whether additional search results have loaded |
| isLoadingResults | boolean | Whether the search is in progress |
The following system components are available to the SearchResultHeader component:
The <ShowMoreButton> system component renders the button that loads additional search results.
| Name | Type | Description |
|---|---|---|
| class | string | The class given to the button |
1<ShowMoreButton class="show-more" />