diff --git a/src/components/datagrid/data_grid_types.ts b/src/components/datagrid/data_grid_types.ts index 7e36f8a79819..82d994bdfbf0 100644 --- a/src/components/datagrid/data_grid_types.ts +++ b/src/components/datagrid/data_grid_types.ts @@ -18,6 +18,7 @@ import { Ref, Component, PropsWithChildren, + ComponentClass, } from 'react'; import { VariableSizeGridProps, @@ -582,8 +583,8 @@ export interface EuiDataGridCellProps { className?: string; popoverContext: DataGridCellPopoverContextShape; renderCellValue: - | JSXElementConstructor - | ((props: EuiDataGridCellValueElementProps) => ReactNode); + | ((props: EuiDataGridCellValueElementProps) => ReactNode) + | ComponentClass; renderCellPopover?: | JSXElementConstructor | ((props: EuiDataGridCellPopoverElementProps) => ReactNode);