添加 cl-form 组件
This commit is contained in:
16
uni_modules/cool-ui/components/cl-form-item/props.ts
Normal file
16
uni_modules/cool-ui/components/cl-form-item/props.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
};
|
||||
Reference in New Issue
Block a user