mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
21 lines
558 B
TypeScript
21 lines
558 B
TypeScript
import type { App, Plugin } from 'vue';
|
|
import Statistic from './Statistic';
|
|
import Countdown from './Countdown';
|
|
|
|
export type { StatisticProps } from './Statistic';
|
|
|
|
Statistic.Countdown = Countdown;
|
|
/* istanbul ignore next */
|
|
Statistic.install = function (app: App) {
|
|
app.component(Statistic.name, Statistic);
|
|
app.component(Statistic.Countdown.name, Statistic.Countdown);
|
|
return app;
|
|
};
|
|
|
|
export const StatisticCountdown = Statistic.Countdown;
|
|
|
|
export default Statistic as typeof Statistic &
|
|
Plugin & {
|
|
readonly Countdown: typeof Countdown;
|
|
};
|