UNPKG

ra-core

Version:

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

12 lines 572 B
import { Exporter, RaRecord } from '../types'; /** * A hook that provides a callback to export the selected records from the nearest ListContext and call the exporter function for them. */ export declare function useBulkExport<RecordType extends RaRecord = any>(options?: UseBulkExportOptions<RecordType>): UseBulkExportResult; export type UseBulkExportResult = () => void; export interface UseBulkExportOptions<RecordType extends RaRecord = any> { exporter?: Exporter<RecordType>; meta?: any; resource?: string; } //# sourceMappingURL=useBulkExport.d.ts.map