@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 668 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchMutations](./x-components.searchmutations.md) > [setSelectedFilters](./x-components.searchmutations.setselectedfilters.md)
## SearchMutations.setSelectedFilters() method
Sets the selected filters of the module.
**Signature:**
```typescript
setSelectedFilters(selectedFilters: Filter[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| selectedFilters | Filter\[\] | The new selected filters to save to the state. |
**Returns:**
void