UNPKG

@empathyco/x-components

Version:
117 lines (52 loc) 1.62 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QuerySuggestionsState](./x-components.querysuggestionsstate.md) ## QuerySuggestionsState interface QuerySuggestions store state. **Signature:** ```typescript export interface QuerySuggestionsState extends StatusState, QueryState ``` **Extends:** [StatusState](./x-components.statusstate.md)<!-- -->, [QueryState](./x-components.querystate.md) ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [config](./x-components.querysuggestionsstate.config.md) </td><td> </td><td> [QuerySuggestionsConfig](./x-components.querysuggestionsconfig.md) </td><td> The configuration of the query suggestions module. </td></tr> <tr><td> [params](./x-components.querysuggestionsstate.params.md) </td><td> </td><td> Dictionary&lt;unknown&gt; </td><td> The extra params property of the state. </td></tr> <tr><td> [searchedQueries](./x-components.querysuggestionsstate.searchedqueries.md) </td><td> </td><td> HistoryQuery\[\] </td><td> The list of the searched queries, related to the `query` property of the state. </td></tr> <tr><td> [suggestions](./x-components.querysuggestionsstate.suggestions.md) </td><td> </td><td> Suggestion\[\] </td><td> The suggestions for the query of the state. </td></tr> </tbody></table>