UNPKG

@tplc/wot

Version:

33 lines (32 loc) 754 B
import type { ExtractPropTypes } from 'vue' import type { FormItemRule } from '../wd-form/types' export declare const formItemProps: { prop: { type: StringConstructor required: true } rules: { type: import('vue').PropType<FormItemRule[]> default: () => never[] } required: BooleanConstructor center: { type: BooleanConstructor default: boolean } label: StringConstructor labelWidth: { type: import('vue').PropType<string> default: string } isLink: BooleanConstructor customStyle: { type: import('vue').PropType<string> default: string } customClass: { type: import('vue').PropType<string> default: string } } export type FormItemProps = ExtractPropTypes<typeof formItemProps>