mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
chore: Export some useful define (#19770)
This commit is contained in:
parent
ff89ce0aed
commit
5d98667687
@ -30,6 +30,8 @@ import renderExpandIcon from './ExpandIcon';
|
||||
import scrollTo from '../_util/scrollTo';
|
||||
import defaultLocale from '../locale/en_US';
|
||||
|
||||
export { ColumnsType, TablePaginationConfig };
|
||||
|
||||
const EMPTY_LIST: any[] = [];
|
||||
|
||||
interface ChangeEventInfo<RecordType> {
|
||||
|
@ -94,7 +94,10 @@ export interface ColumnType<RecordType> extends RcColumnType<RecordType> {
|
||||
onFilterDropdownVisibleChange?: (visible: boolean) => void;
|
||||
}
|
||||
|
||||
export type ColumnsType<RecordType> = (ColumnGroupType<RecordType> | ColumnType<RecordType>)[];
|
||||
export type ColumnsType<RecordType = unknown> = (
|
||||
| ColumnGroupType<RecordType>
|
||||
| ColumnType<RecordType>
|
||||
)[];
|
||||
|
||||
export interface SelectionItem {
|
||||
key: string;
|
||||
|
@ -127,7 +127,7 @@
|
||||
"rc-slider": "~8.7.1",
|
||||
"rc-steps": "~3.5.0",
|
||||
"rc-switch": "~1.9.0",
|
||||
"rc-table": "~7.0.0-alpha.16",
|
||||
"rc-table": "~7.0.0-alpha.20",
|
||||
"rc-tabs": "~9.6.4",
|
||||
"rc-time-picker": "~4.0.0-alpha.2",
|
||||
"rc-tooltip": "~3.7.3",
|
||||
|
Loading…
Reference in New Issue
Block a user