@yuntijs/ui
Version:
☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps
21 lines (20 loc) • 1.03 kB
TypeScript
import { Table as AntdTable, TableProps } from 'antd';
import type { AnyObject } from 'antd/es/_util/type';
import React from 'react';
import { CollapseTable } from './collapse';
export * from './collapse';
export { type TableColumnGroupType, type TableColumnProps, type TableColumnsType, type TableColumnType, type TablePaginationConfig, type TableProps, } from 'antd';
type YuntiTable = <RecordType extends AnyObject = AnyObject>(props: TableProps<RecordType>) => React.ReactElement;
export declare const Table: YuntiTable & {
displayName?: typeof AntdTable.displayName;
SELECTION_COLUMN: typeof AntdTable.SELECTION_COLUMN;
EXPAND_COLUMN: typeof AntdTable.EXPAND_COLUMN;
SELECTION_ALL: typeof AntdTable.SELECTION_ALL;
SELECTION_INVERT: typeof AntdTable.SELECTION_INVERT;
SELECTION_NONE: typeof AntdTable.SELECTION_NONE;
Column: typeof AntdTable.Column;
ColumnGroup: typeof AntdTable.ColumnGroup;
Summary: typeof AntdTable.Summary;
Collapse: typeof CollapseTable;
};
export default Table;