vuecssuiant-designantdreactantantd-vueenterprisefrontendui-designvue-antdvue-antd-uivue3vuecomponent
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.
17 lines
402 B
17 lines
402 B
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; |
|
};
|
|
|