@oruga-ui/oruga-next
Version:
UI components for Vue.js and CSS framework agnostic
22 lines (16 loc) • 581 B
text/typescript
import type { App } from "vue";
import Listbox from "./Listbox.vue";
import ListItem from "./ListItem.vue";
import { registerComponent } from "@/utils/plugins";
import type { OrugaComponentPlugin } from "@/utils/config";
/** export listbox specific types */
export type * from "./props";
/** export listbox plugin */
export default {
install(Vue: App): void {
registerComponent(Vue, Listbox);
registerComponent(Vue, ListItem);
},
} satisfies OrugaComponentPlugin;
/** export listbox components */
export { Listbox as OListbox, ListItem as OListItem };