<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [setSearchSelectedFiltersFromPreview](./x-components.setsearchselectedfiltersfrompreview.md)

## setSearchSelectedFiltersFromPreview variable

Sets the search state `selectedFilters` with the selectedQueryPreview's filters.

**Signature:**

```typescript
setSearchSelectedFiltersFromPreview: import("../../wiring").AnyWire
```
