mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
17 lines
473 B
TypeScript
17 lines
473 B
TypeScript
import type { CountdownProps } from './Countdown';
|
|
import Countdown from './Countdown';
|
|
import type { StatisticProps } from './Statistic';
|
|
import Statistic from './Statistic';
|
|
|
|
export type { StatisticProps, CountdownProps };
|
|
|
|
type CompoundedComponent = {
|
|
Countdown: typeof Countdown;
|
|
};
|
|
|
|
export type CompoundedStatistic = typeof Statistic & CompoundedComponent;
|
|
|
|
(Statistic as CompoundedStatistic).Countdown = Countdown;
|
|
|
|
export default Statistic as CompoundedStatistic;
|