Latest updates from IceHrmPro
This commit is contained in:
36
web/node_modules/antd/es/table/Table.d.ts
generated
vendored
Normal file
36
web/node_modules/antd/es/table/Table.d.ts
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
/// <reference types="react" />
|
||||
import { TableProps as RcTableProps } from 'rc-table/lib/Table';
|
||||
import { SpinProps } from '../spin';
|
||||
import { PaginationConfig } from '../pagination';
|
||||
import { TableRowSelection, ColumnsType, TableCurrentDataSource, SorterResult, Key, GetPopupContainer, TablePaginationConfig, SortOrder, TableLocale } from './interface';
|
||||
import { SizeType } from '../config-provider/SizeContext';
|
||||
export { ColumnsType, TablePaginationConfig };
|
||||
export interface TableProps<RecordType> extends Omit<RcTableProps<RecordType>, 'transformColumns' | 'internalHooks' | 'internalRefs' | 'data' | 'columns' | 'scroll'> {
|
||||
dropdownPrefixCls?: string;
|
||||
dataSource?: RcTableProps<RecordType>['data'];
|
||||
columns?: ColumnsType<RecordType>;
|
||||
pagination?: false | TablePaginationConfig;
|
||||
loading?: boolean | SpinProps;
|
||||
size?: SizeType;
|
||||
bordered?: boolean;
|
||||
locale?: TableLocale;
|
||||
onChange?: (pagination: PaginationConfig, filters: Record<string, Key[] | null>, sorter: SorterResult<RecordType> | SorterResult<RecordType>[], extra: TableCurrentDataSource<RecordType>) => void;
|
||||
rowSelection?: TableRowSelection<RecordType>;
|
||||
getPopupContainer?: GetPopupContainer;
|
||||
scroll?: RcTableProps<RecordType>['scroll'] & {
|
||||
scrollToFirstRowOnChange?: boolean;
|
||||
};
|
||||
sortDirections?: SortOrder[];
|
||||
showSorterTooltip?: boolean;
|
||||
}
|
||||
declare function Table<RecordType extends object = any>(props: TableProps<RecordType>): JSX.Element;
|
||||
declare namespace Table {
|
||||
var defaultProps: {
|
||||
rowKey: string;
|
||||
};
|
||||
var SELECTION_ALL: string;
|
||||
var SELECTION_INVERT: string;
|
||||
var Column: typeof import("./Column").default;
|
||||
var ColumnGroup: typeof import("./ColumnGroup").default;
|
||||
}
|
||||
export default Table;
|
||||
Reference in New Issue
Block a user