UNPKG

ra-core

Version:

Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React

19 lines 908 B
import { type Identifier } from '../types'; import { type RowClickFunctionBase } from './types'; export declare const DataTableCallbacksContext: import("react").Context<{ handleSort?: (event: any) => void; handleToggleItem?: (id: Identifier, event: any) => void; isRowExpandable?: (record: any) => boolean; isRowSelectable?: (record: any) => boolean; onSelect?: ((ids: Identifier[]) => void) | undefined; rowClick?: string | RowClickFunctionBase | false; }>; export declare const useDataTableCallbacksContext: () => { handleSort?: (event: any) => void; handleToggleItem?: (id: Identifier, event: any) => void; isRowExpandable?: (record: any) => boolean; isRowSelectable?: (record: any) => boolean; onSelect?: ((ids: Identifier[]) => void) | undefined; rowClick?: string | RowClickFunctionBase | false; }; //# sourceMappingURL=DataTableCallbacksContext.d.ts.map