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

23 lines
549 B
TypeScript
Raw Normal View History

2025-08-19 18:11:00 +08:00
import type { ClFormLabelPosition, ClFormRule, PassThroughProps } from "../../types";
2025-08-06 18:14:11 +08:00
export type ClFormItemPassThrough = {
className?: string;
inner?: PassThroughProps;
label?: PassThroughProps;
content?: PassThroughProps;
error?: PassThroughProps;
};
2025-08-06 10:18:17 +08:00
export type ClFormItemProps = {
className?: string;
pt?: ClFormItemPassThrough;
label?: string;
prop?: string;
2025-08-19 18:11:00 +08:00
rules?: ClFormRule[];
2025-08-06 18:14:11 +08:00
labelPosition?: ClFormLabelPosition;
labelWidth?: string | any;
showAsterisk?: boolean | any;
showMessage?: boolean | any;
2025-08-06 10:18:17 +08:00
required?: boolean;
};