fx-form-widget
Version:
24 lines (23 loc) • 527 B
TypeScript
import { FC, ReactNode } from 'react';
import './index.less';
export interface TableProps {
schemas?: Schema[];
dataSource?: any[];
showIndex?: boolean;
showExportBtn?: boolean;
title?: string;
pageSize?: number;
}
export interface Column {
title?: ReactNode;
dataIndex?: string;
width?: number;
align?: 'right' | 'left' | 'center';
}
export interface Schema {
wid?: string;
fieldName?: string;
label?: ReactNode;
}
declare const Table: FC<TableProps>;
export default Table;