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