<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [setSelectedQueryPreviewWire](./x-components.setselectedquerypreviewwire.md)

## setSelectedQueryPreviewWire variable

Updates the state with the selected query preview object.

**Signature:**

```typescript
setSelectedQueryPreviewWire: import("../..").Wire<import("./store").QueryPreviewInfo | null>
```
