@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 725 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [HistoryQueriesActions](./x-components.historyqueriesactions.md) > [setHistoryQueries](./x-components.historyqueriesactions.sethistoryqueries.md)
## HistoryQueriesActions.setHistoryQueries property
Sets the history queries, synchronizing them with the browser storage. It also removes the oldest query if the history queries length is bigger than the [HistoryQueriesConfig.maxItemsToStore](./x-components.historyqueriesconfig.maxitemstostore.md)<!-- -->.
**Signature:**
```typescript
setHistoryQueries: (historyQueries: HistoryQuery[]) => void;
```