UNPKG

@oruga-ui/oruga-next

Version:

UI components for Vue.js and CSS framework agnostic

21 lines (15 loc) 525 B
import type { App, Plugin } from "vue"; import Table from "./Table.vue"; import TableColumn from "./TableColumn.vue"; import { registerComponent } from "@/utils/plugins"; /** export table specific types */ export type { TableColumn, TableRow } from "./types"; /** export table plugin */ export default { install(app: App) { registerComponent(app, Table); registerComponent(app, TableColumn); }, } as Plugin; /** export table components */ export { Table as OTable, TableColumn as OTableColumn };