UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

56 lines (55 loc) 1.51 kB
import { ExtractPropTypes, PropType } from "vue"; export interface UiTableOption2 { "key": string; "name": string; "slot"?: string; "sort"?: boolean; "align"?: "left" | "right" | "center" | "singularity"; "width"?: number; "extra"?: boolean; "explain"?: any; "min-width"?: number; "max-width"?: number; "className"?: string; "extra-icon"?: string; "extra-name"?: string; "explain-icon"?: string; "explain-name"?: string; } export declare const UiTablePropsOption2: { readonly data: { readonly type: PropType<any[]>; readonly required: true; }; readonly error: { readonly type: StringConstructor; readonly default: ""; }; readonly height: { readonly type: NumberConstructor; }; readonly option: { readonly type: PropType<UiTableOption2[]>; readonly required: true; }; readonly spacing: { readonly type: PropType<string | number>; readonly default: 0; }; readonly selector: { readonly type: PropType<"children" | "radio" | "checkbox">; }; readonly overflow: { readonly type: BooleanConstructor; readonly default: false; }; }; export type UiTableProps2 = ExtractPropTypes<typeof UiTablePropsOption2>; export declare const UiTableEmits2: { sort: (_result: { key: string; value: string; }) => boolean; radio: (_data: any) => boolean; checkbox: (_data: any[]) => boolean; };