@fakel/rest-admin
Version:
An application that makes it easier to work with your API
18 lines (17 loc) • 455 B
TypeScript
import React from 'react';
import { TableProps } from 'antd/lib/table';
import { ListStore } from '../../stores';
declare type ListViewProps = {
dataSource: any;
ids: number[];
columns: any;
resource: string;
perPage?: number;
page?: number;
listStore: ListStore;
loading?: boolean;
view?: 'edit' | 'show';
viewOptions?: TableProps<any>;
};
declare const ListView: React.FC<ListViewProps>;
export default ListView;