type: export CountdownProps type (#41341)

pull/41344/head
lijianan 2 years ago committed by GitHub
parent d5ef496bb6
commit e0c79ec5dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,4 @@
export type { Breakpoint } from './_util/responsiveObserver';
export { default as Affix } from './affix'; export { default as Affix } from './affix';
export type { AffixProps } from './affix'; export type { AffixProps } from './affix';
export { default as Alert } from './alert'; export { default as Alert } from './alert';
@ -44,10 +45,10 @@ export { default as Drawer } from './drawer';
export type { DrawerProps } from './drawer'; export type { DrawerProps } from './drawer';
export { default as Dropdown } from './dropdown'; export { default as Dropdown } from './dropdown';
export type { export type {
DropdownProps,
// typo, but we need to support it for backwards compatibility // typo, but we need to support it for backwards compatibility
// https://github.com/ant-design/ant-design/pull/35161 // https://github.com/ant-design/ant-design/pull/35161
DropdownProps as DropDownProps, DropdownProps as DropDownProps,
DropdownProps,
} from './dropdown'; } from './dropdown';
export { default as Empty } from './empty'; export { default as Empty } from './empty';
export type { EmptyProps } from './empty'; export type { EmptyProps } from './empty';
@ -113,7 +114,7 @@ export type { SpaceProps } from './space';
export { default as Spin } from './spin'; export { default as Spin } from './spin';
export type { SpinProps } from './spin'; export type { SpinProps } from './spin';
export { default as Statistic } from './statistic'; export { default as Statistic } from './statistic';
export type { StatisticProps } from './statistic'; export type { CountdownProps, StatisticProps } from './statistic';
export { default as Steps } from './steps'; export { default as Steps } from './steps';
export type { StepProps, StepsProps } from './steps'; export type { StepProps, StepsProps } from './steps';
export { default as Switch } from './switch'; export { default as Switch } from './switch';
@ -122,8 +123,8 @@ export { default as Table } from './table';
export type { export type {
ColumnGroupType as TableColumnGroupType, ColumnGroupType as TableColumnGroupType,
ColumnProps as TableColumnProps, ColumnProps as TableColumnProps,
ColumnsType as TableColumnsType,
ColumnType as TableColumnType, ColumnType as TableColumnType,
ColumnsType as TableColumnsType,
TablePaginationConfig, TablePaginationConfig,
TableProps, TableProps,
} from './table'; } from './table';
@ -145,8 +146,8 @@ export { default as Transfer } from './transfer';
export type { TransferProps } from './transfer'; export type { TransferProps } from './transfer';
export { default as Tree } from './tree'; export { default as Tree } from './tree';
export type { export type {
AntTreeNodeProps as TreeNodeProps,
DataNode as TreeDataNode, DataNode as TreeDataNode,
AntTreeNodeProps as TreeNodeProps,
TreeProps, TreeProps,
} from './tree'; } from './tree';
export { default as TreeSelect } from './tree-select'; export { default as TreeSelect } from './tree-select';
@ -158,4 +159,3 @@ export type { UploadFile, UploadProps } from './upload';
export { default as version } from './version'; export { default as version } from './version';
export { default as Watermark } from './watermark'; export { default as Watermark } from './watermark';
export type { WatermarkProps } from './watermark'; export type { WatermarkProps } from './watermark';
export type { Breakpoint } from './_util/responsiveObserver';

@ -1,5 +1,6 @@
import Statistic from './Statistic'; import type { CountdownProps } from './Countdown';
import type { StatisticProps } from './Statistic'; import type { StatisticProps } from './Statistic';
import Statistic from './Statistic';
export type { StatisticProps }; export type { StatisticProps, CountdownProps };
export default Statistic; export default Statistic;

Loading…
Cancel
Save