Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-form-item/props.ts

17 lines
418 B
TypeScript
Raw Normal View History

2025-08-06 10:18:17 +08:00
import type { ClFormItemPassThrough } from "./props";
import type { ClFormRule } from "../cl-form/props";
export type ClFormItemProps = {
className?: string;
pt?: ClFormItemPassThrough;
label?: string;
prop?: string;
required?: boolean;
labelPosition?: "left" | "top" | "right";
labelWidth?: string;
rules?: ClFormRule | ClFormRule[];
showRequiredAsterisk?: boolean;
error?: string;
disabled?: boolean;
};