<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [setQueryFromPreview](./x-components.setqueryfrompreview.md)

## setQueryFromPreview variable

Sets the query of the facets module from a queryPreview.

**Signature:**

```typescript
setQueryFromPreview: import("../../wiring/wiring.types").AnyWire
```
