mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 00:29:12 +08:00
0b6356d984
* chore: rename file .tsx => .ts * fix: fix * test: add test case
17 lines
475 B
TypeScript
17 lines
475 B
TypeScript
import type { CountdownProps } from './Countdown';
|
|
import Countdown from './Countdown';
|
|
import type { StatisticProps } from './Statistic';
|
|
import Statistic from './Statistic';
|
|
|
|
export type { CountdownProps, StatisticProps };
|
|
|
|
type CompoundedComponent = {
|
|
Countdown: typeof Countdown;
|
|
};
|
|
|
|
export type CompoundedStatistic = typeof Statistic & CompoundedComponent;
|
|
|
|
(Statistic as CompoundedStatistic).Countdown = Countdown;
|
|
|
|
export default (Statistic as CompoundedStatistic);
|