kiner-tang(文辉)
1 year ago
committed by
GitHub
3 changed files with 13 additions and 10 deletions
@ -1,6 +1,16 @@ |
|||
import type { CountdownProps } from './Countdown'; |
|||
import Countdown from './Countdown'; |
|||
import type { StatisticProps } from './Statistic'; |
|||
import Statistic from './Statistic'; |
|||
|
|||
export type { StatisticProps, CountdownProps }; |
|||
export default Statistic; |
|||
|
|||
type CompoundedComponent = { |
|||
Countdown: typeof Countdown; |
|||
}; |
|||
|
|||
export type CompoundedStatistic = typeof Statistic & CompoundedComponent; |
|||
|
|||
(Statistic as CompoundedStatistic).Countdown = Countdown; |
|||
|
|||
export default Statistic as CompoundedStatistic; |
|||
|
Loading…
Reference in new issue