antd-curd
Version:
基于 ant design 、 dva 的增删改查页面组件
15 lines (14 loc) • 628 B
TypeScript
/// <reference types="react" />
import { StandardListProps } from '../../components/StandardList/index';
import { InternalCurdBox } from '../CurdBox';
declare type NoDataStandardTableProps<T> = Omit<StandardListProps<T>, 'data'>;
export interface CustomStandardListProps<T extends {
id: number | string;
}> extends NoDataStandardTableProps<T> {
renderActions?: InternalCurdBox<T>['renderActions'];
handleDataChange?: InternalCurdBox<T>['handleDataChange'];
}
export default function CustomStandardList<T extends {
id: number | string;
}>(props: CustomStandardListProps<T>): JSX.Element;
export {};