UNPKG

@fakel/rest-admin

Version:

An application that makes it easier to work with your API

17 lines (16 loc) 443 B
import React from 'react'; import { TableProps } from 'antd/lib/table'; import { ColumnT } from '../../@types'; declare type ListProps = { columns: ColumnT[]; title?: string; actions?: JSX.Element; filters?: JSX.Element; perPage?: number; view?: 'edit' | 'show'; viewOptions?: TableProps<any>; withReferences?: boolean; reference?: string[]; }; declare const List: React.FC<ListProps>; export default List;