@oruga-ui/oruga-next
Version:
UI components for Vue.js and CSS framework agnostic
20 lines (14 loc) • 453 B
text/typescript
import type { App } from "vue";
import Icon from "./Icon.vue";
import { registerComponent } from "@/utils/plugins";
import type { OrugaComponentPlugin } from "@/utils/config";
/** export icon specific types */
export type * from "./props";
/** export icon plugin */
export default {
install(app: App): void {
registerComponent(app, Icon);
},
} satisfies OrugaComponentPlugin;
/** export icon components */
export { Icon as OIcon };