UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

24 lines (22 loc) 744 B
import { ExtractPropTypes, PropType } from 'vue'; import { ComicSize, Arrayable } from '../../../utils'; import { RuleItem } from 'async-validator'; type Rules = { trigger?: Arrayable<string>; } & RuleItem; export declare const formProps: { readonly model: PropType<Record<string, any>>; readonly labelWidth: { readonly type: StringConstructor; readonly default: "80px"; }; readonly labelPosition: { readonly type: PropType<"left" | "right" | "top">; readonly default: "right"; }; readonly rules: PropType<Rules>; readonly size: PropType<ComicSize>; readonly hideRequiredAsterisk: BooleanConstructor; }; export type FormProps = ExtractPropTypes<typeof formProps>; export {};