<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XEventsOf](./x-components.xeventsof.md)

## XEventsOf type

Selects events of the with a payload matching the provided type.

**Signature:**

```typescript
export type XEventsOf<Type> = PropsWithType<XEventsTypes, Type>;
```
**References:** [PropsWithType](./x-components.propswithtype.md)<!-- -->, [XEventsTypes](./x-components.xeventstypes.md)

