添加 cl-form 组件
This commit is contained in:
12
uni_modules/cool-ui/components/cl-form/props.ts
Normal file
12
uni_modules/cool-ui/components/cl-form/props.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ClFormData, ClFormRule, ClFormValidateResult, ClFormPassThrough } from "./props";
|
||||
|
||||
export type ClFormProps = {
|
||||
className?: string;
|
||||
pt?: ClFormPassThrough;
|
||||
modelValue?: ClFormData;
|
||||
rules?: Record<string, ClFormRule | ClFormRule[]>;
|
||||
labelPosition?: "left" | "top" | "right";
|
||||
labelWidth?: string;
|
||||
showRequiredAsterisk?: boolean;
|
||||
disabled?: boolean;
|
||||
};
|
||||
Reference in New Issue
Block a user