<ChatSearchBox>

View as Markdown

Note: The in-conversation message search functionality is only available on the TalkJS Growth plan and above.

The <ChatSearchBox> component displays a text input which lets the user enter a search query.

interface ChatSearchBoxProps

Properties

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

searchQuery
: string

The current query used by in-conversation message search.

Example

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

1// loading...