UNPKG

vue-devui

Version:

DevUI components based on Vite and Vue3

20 lines (19 loc) 573 B
import type { ExtractPropTypes, PropType } from 'vue'; export type ITableColumn = { key: string; title: string; type?: 'turn'; }; export type ITableDataRow = Record<string, any>; export declare const apiTableProps: { readonly columns: { readonly type: PropType<ITableColumn[]>; readonly required: true; readonly default: () => never[]; }; readonly data: { readonly type: PropType<ITableDataRow[]>; readonly default: () => never[]; }; }; export type ApiTableProps = ExtractPropTypes<typeof apiTableProps>;