mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
38cf5e8a75
* docs: unify component export file as index.tsx * docs: compatible with old anchors * chore: clean * test: update snapshot * fix: window env --------- Co-authored-by: Peach <scdzwyxst@gmail.com>
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 { CountdownProps, StatisticProps };
|
|
|
|
type CompoundedComponent = {
|
|
Countdown: typeof Countdown;
|
|
};
|
|
|
|
export type CompoundedStatistic = typeof Statistic & CompoundedComponent;
|
|
|
|
(Statistic as CompoundedStatistic).Countdown = Countdown;
|
|
|
|
export default Statistic as CompoundedStatistic;
|