UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 805 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) &gt; [setSelectedQueryPreview](./x-components.queriespreviewmutations.setselectedquerypreview.md) ## QueriesPreviewMutations.setSelectedQueryPreview() method Sets the selected query preview of the module. **Signature:** ```typescript setSelectedQueryPreview(selectedQueryPreview: QueryPreviewInfo | null): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | selectedQueryPreview | [QueryPreviewInfo](./x-components.querypreviewinfo.md) \| null | The selected query preview to save to the state. | **Returns:** void