UNPKG

@layui/layui-vue

Version:

a component library for Vue 3 base on layui-vue

22 lines (21 loc) 706 B
import type { Rules, ValidateMessages } from "async-validator"; import type { modelType } from "../../types/form"; import type { TooltipProps } from "../tooltip/types"; export interface FormProps { model?: modelType; required?: boolean; rules?: Rules; size?: "xs" | "sm" | "md" | "lg"; mode?: "block" | "inline"; pane?: boolean; initValidate?: boolean; useCN?: boolean; labelPosition?: "right" | "left" | "top"; labelWidth?: string | number; inlineWidth?: string | number; requiredIcons?: string; requiredErrorMessage?: string; validateMessage?: ValidateMessages; isLabelTooltip?: boolean; tooltipProps?: TooltipProps; }