@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 696 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [NextQueriesActions](./x-components.nextqueriesactions.md) > [setUrlParams](./x-components.nextqueriesactions.seturlparams.md)
## NextQueriesActions.setUrlParams() method
Checks if the url has a query on it and then updates the state with that value.
**Signature:**
```typescript
setUrlParams(urlParams: UrlParams): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| urlParams | [UrlParams](./x-components.urlparams.md) | List of params from the url. |
**Returns:**
void