UNPKG

drf-react-by-schema

Version:

Components and Tools for building a React App having Django Rest Framework (DRF) as server

18 lines 879 B
import React, { ReactElement } from 'react'; import { GridEnrichedBySchemaColDef, Item, MobileListRenderItemType, PaginationModel, SchemaType } from '../../@types'; interface DataGridMobileProps { name: string; data: Item[]; columns: GridEnrichedBySchemaColDef[]; schema: SchemaType; customColumnOperations?: (p: GridEnrichedBySchemaColDef) => GridEnrichedBySchemaColDef | Promise<GridEnrichedBySchemaColDef>; MobileListRenderItem: MobileListRenderItemType; MobileRenderNoResults?: () => ReactElement | null; hideQuickFilterBar?: boolean; paginationModel?: PaginationModel; setPaginationModel?: (x: PaginationModel) => void; rowCount: number; } declare const DataGridMobile: React.ForwardRefExoticComponent<DataGridMobileProps & React.RefAttributes<unknown>>; export default DataGridMobile; //# sourceMappingURL=DataGridMobile.d.ts.map