@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 526 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QuerySuggestionsActions](./x-components.querysuggestionsactions.md) > [setUrlParams](./x-components.querysuggestionsactions.seturlparams.md)
## QuerySuggestionsActions.setUrlParams property
Checks if the url has a query on it and then updates the state with that value.
**Signature:**
```typescript
setUrlParams: (urlParams: UrlParams) => void;
```