quarkd
Version:
Mobile UI Components built on Web Components.
22 lines (21 loc) • 582 B
TypeScript
import { Rule } from "async-validator";
export declare type FormRule = Rule;
export declare type Rules = Record<string, Rule>;
export declare type labelPosition = "left" | "right";
export interface IFormProps {
validatefirst?: boolean;
hidemessage?: boolean;
hideasterisk?: boolean;
labelwidth?: string;
labelsuffix?: string;
labelposition?: labelPosition;
}
export interface IFormItemProps {
prop?: string;
label?: string;
labelwidth?: string;
hidemessage?: boolean;
hideasterisk?: boolean;
islink?: boolean;
rules?: FormRule;
}