mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 21:18:14 +08:00
18 lines
402 B
TypeScript
18 lines
402 B
TypeScript
import type { App, Plugin } from 'vue';
|
|
import Badge from './Badge';
|
|
import Ribbon from './Ribbon';
|
|
export type { BadgeProps } from './Badge';
|
|
|
|
Badge.install = function (app: App) {
|
|
app.component(Badge.name, Badge);
|
|
app.component(Ribbon.name, Ribbon);
|
|
return app;
|
|
};
|
|
|
|
export { Ribbon as BadgeRibbon };
|
|
|
|
export default Badge as typeof Badge &
|
|
Plugin & {
|
|
readonly Ribbon: typeof Ribbon;
|
|
};
|