diff --git a/src/components/table-toolbar/KeycloakDataTable.tsx b/src/components/table-toolbar/KeycloakDataTable.tsx index d7839aba45..b4c4549cdc 100644 --- a/src/components/table-toolbar/KeycloakDataTable.tsx +++ b/src/components/table-toolbar/KeycloakDataTable.tsx @@ -120,7 +120,10 @@ export type Action = IAction & { onRowClick?: (row: T) => Promise | void; }; -export type DataListProps = Omit & { +export type DataListProps = Omit< + TableProps, + "rows" | "cells" | "onSelect" +> & { loader: (first?: number, max?: number, search?: string) => Promise; onSelect?: (value: T[]) => void; canSelectAll?: boolean;