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

15 lines
318 B
TypeScript
Raw Normal View History

2021-05-25 09:30:22 +00:00
import { App, Plugin } from 'vue';
2019-01-12 03:33:27 +00:00
import Badge from './Badge';
2021-05-25 09:30:22 +00:00
import Ribbon from './Ribbon';
2017-11-16 10:29:02 +00:00
2021-05-25 09:30:22 +00:00
Badge.install = function(app: App) {
app.component(Badge.name, Badge);
app.component(Ribbon.name, Ribbon);
return app;
};
export default Badge as typeof Badge &
Plugin & {
readonly Ribbon: typeof Ribbon;
};