2023-07-15 12:57:03 +08:00
|
|
|
'use client';
|
|
|
|
|
2023-03-20 11:23:46 +08:00
|
|
|
import type { CountdownProps } from './Countdown';
|
2023-06-05 10:48:27 +08:00
|
|
|
import Countdown from './Countdown';
|
2022-12-25 22:54:56 +08:00
|
|
|
import type { StatisticProps } from './Statistic';
|
2023-03-20 11:23:46 +08:00
|
|
|
import Statistic from './Statistic';
|
2019-01-09 20:38:09 +08:00
|
|
|
|
2023-07-15 12:57:03 +08:00
|
|
|
export type { CountdownProps, StatisticProps };
|
2023-06-05 10:48:27 +08:00
|
|
|
|
|
|
|
type CompoundedComponent = {
|
|
|
|
Countdown: typeof Countdown;
|
|
|
|
};
|
|
|
|
|
|
|
|
export type CompoundedStatistic = typeof Statistic & CompoundedComponent;
|
|
|
|
|
|
|
|
(Statistic as CompoundedStatistic).Countdown = Countdown;
|
|
|
|
|
|
|
|
export default Statistic as CompoundedStatistic;
|