@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 Switch from "./Switch.vue";
import { registerComponent } from "@/utils/plugins";
import type { OrugaComponentPlugin } from "@/utils/config";
/** export switch specific types */
export type * from "./props";
/** export switch plugin */
export default {
install(app: App): void {
registerComponent(app, Switch);
},
} satisfies OrugaComponentPlugin;
/** export switch components */
export { Switch as OSwitch };