@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 751 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) > [setStatus](./x-components.queriespreviewmutations.setstatus.md)
## QueriesPreviewMutations.setStatus() method
Sets the status of a query preview request.
**Signature:**
```typescript
setStatus(payload: QueryPreviewStatusPayload): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| payload | [QueryPreviewStatusPayload](./x-components.querypreviewstatuspayload.md) | Object containing the query and the status of a query preview item. |
**Returns:**
void