index.d.ts 632 B

1234567891011121314151617
  1. import type { CountdownProps } from './Countdown';
  2. import Countdown from './Countdown';
  3. import type { StatisticProps } from './Statistic';
  4. import Statistic from './Statistic';
  5. import type { StatisticTimerProps } from './Timer';
  6. import Timer from './Timer';
  7. export type { CountdownProps, StatisticTimerProps, StatisticProps };
  8. type CompoundedComponent = {
  9. /**
  10. * @deprecated Please use `Statistic.Timer` instead
  11. */
  12. Countdown: typeof Countdown;
  13. Timer: typeof Timer;
  14. };
  15. export type CompoundedStatistic = typeof Statistic & CompoundedComponent;
  16. declare const _default: CompoundedStatistic;
  17. export default _default;