@empathyco/x-components
Version:
Empathy X Components
117 lines (52 loc) • 1.58 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [PopularSearchesState](./x-components.popularsearchesstate.md)
## PopularSearchesState interface
Popular searches module state.
**Signature:**
```typescript
export interface PopularSearchesState extends StatusState
```
**Extends:** [StatusState](./x-components.statusstate.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.popularsearchesstate.config.md)
</td><td>
</td><td>
[PopularSearchesConfig](./x-components.popularsearchesconfig.md)
</td><td>
The popular searches module configuration.
</td></tr>
<tr><td>
[params](./x-components.popularsearchesstate.params.md)
</td><td>
</td><td>
Dictionary<unknown>
</td><td>
The extra params property of the state.
</td></tr>
<tr><td>
[popularSearches](./x-components.popularsearchesstate.popularsearches.md)
</td><td>
</td><td>
Suggestion\[\]
</td><td>
The suggestions list. These suggestions represent the most searched queries.
</td></tr>
<tr><td>
[searchedQueries](./x-components.popularsearchesstate.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>
</tbody></table>