<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchBoxActions](./x-components.searchboxactions.md) &gt; [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;
```
