@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 498 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchBoxActions](./x-components.searchboxactions.md) > [setUrlParams](./x-components.searchboxactions.seturlparams.md)
## SearchBoxActions.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;
```