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.

<GlobalSearchResultItem>

Display global search matches.

View as Markdown

Search functionality is available on the Growth plan or higher.

The <GlobalSearchResultItem> component is displayed for each match found by the search functionality.

interface GlobalSearchResultItemProps

Props passed to the GlobalSearchResultItem theme component.

Properties

A collection of objects which are passed to all ConversationList theme components.

conversation
: ConversationSnapshot

The conversation that's being displayed.

isSelected
: boolean

If true, this search result is the currently selected one.

message (optional)
: MessageSnapshot

The message containing the result item. If it's missing, then the search match is on the conversation itself.

Example

In the default theme, the <GlobalSearchResultItem> component is implemented as follows:

1// loading...