<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XEventsTypes](./x-components.xeventstypes.md) &gt; [UserSelectedAResultVariant](./x-components.xeventstypes.userselectedaresultvariant.md)

## XEventsTypes.UserSelectedAResultVariant property

The user selected a result variant. Payload: And object containing the result, the selected variant, the level of the selected variant and the query preview hash.

**Signature:**

```typescript
UserSelectedAResultVariant: {
        result: Result;
        variant: ResultVariant;
        level: number;
        queryPreviewHash: ComputedRef<string> | null;
    };
```
