@aliretail/react-materials-components
Version:
32 lines (31 loc) • 820 B
TypeScript
import React from 'react';
import { ColumnProps as IColumnProps } from '@alifd/next/types/table';
interface IService {
apiCode: string;
appCode: string;
params?: any;
}
interface IRequestMap {
table: IService;
relateSelect: IService;
deleted: IService;
save: IService;
disabled: IService;
}
interface IRequestUrl {
tableUrl: string;
selectUrl: string;
deleteUrl: string;
saveUrl: string;
disabledUrl: string;
}
declare type IProps = typeof SettlementConfigurationTable.defaultProps & {
columns: IColumnProps[];
requestMap: IRequestMap;
url?: IRequestUrl;
handleSave?: () => void;
handleDelete?: () => void;
handleChange?: () => void;
};
declare const SettlementConfigurationTable: React.FC<IProps>;
export default SettlementConfigurationTable;