<GlobalSearchResultHeader>
Note: The search functionality is only available on the TalkJS Growth plan and above.
The <GlobalSearchResultHeader> component displays a header above the results of a search. There can be two headers: one for conversation results, and one for message results.
Props passed to the GlobalSearchResultHeader theme component.
| loadMore | Call this function to load more search results. |
Whether this header is displayed above conversation search results or message search results.
True if more search results can be loaded.
A collection of objects which are passed to all ConversationList theme components.
globalSearchResultHeaderProps.loadMore()
Call this function to load more search results.
Returns
In the default theme, the <GlobalSearchResultHeader> component is implemented as follows:
GlobalSearchResultHeader.jsJavaScript1// loading...