ant-design-vue/components/statistic/index.ts

21 lines
558 B
TypeScript
Raw Normal View History

2021-06-26 01:35:40 +00:00
import type { App, Plugin } from 'vue';
2019-05-25 09:18:04 +00:00
import Statistic from './Statistic';
import Countdown from './Countdown';
2021-06-23 15:08:16 +00:00
export type { StatisticProps } from './Statistic';
2021-06-23 13:47:53 +00:00
2019-05-25 09:18:04 +00:00
Statistic.Countdown = Countdown;
/* istanbul ignore next */
2021-06-23 15:08:16 +00:00
Statistic.install = function (app: App) {
app.component(Statistic.name, Statistic);
app.component(Statistic.Countdown.name, Statistic.Countdown);
2020-10-13 11:14:56 +00:00
return app;
2019-05-25 09:18:04 +00:00
};
2021-06-23 15:08:16 +00:00
export const StatisticCountdown = Statistic.Countdown;
2021-06-23 13:47:53 +00:00
2020-11-01 07:03:33 +00:00
export default Statistic as typeof Statistic &
Plugin & {
readonly Countdown: typeof Countdown;
};