React Common Types - events - EventInfo

A type that contains fields common for all events (component, element, model).

import { EventInfo } from "devextreme/events/index"

Do not use NativeEventInfo if you specify this type.

export interface EventInfo<TComponent> {
    readonly component: TComponent;
    readonly element: DxElement;
}

component

The UI component's instance.

Type: events

element

The UI component's container.