@oruga-ui/oruga-next
Version:
UI components for Vue.js and CSS framework agnostic
23 lines (17 loc) • 634 B
text/typescript
import type { App } from "vue";
import Table from "./Table.vue";
import TableColumn from "./TableColumn.vue";
import { registerComponent } from "@/utils/plugins";
import type { OrugaComponentPlugin } from "@/utils/config";
/** export table specific types */
export type * from "./props";
export type { TableColumn, TableRow } from "./types";
/** export table plugin */
export default {
install(app: App): void {
registerComponent(app, Table);
registerComponent(app, TableColumn);
},
} satisfies OrugaComponentPlugin;
/** export table components */
export { Table as OTable, TableColumn as OTableColumn };