You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/statistic/index.ts

21 lines
558 B

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;
};