版本发布
This commit is contained in:
32
uni_modules/cool-ui/components/cl-input/props.ts
Normal file
32
uni_modules/cool-ui/components/cl-input/props.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import type { ClInputType, PassThroughProps } from "../../types";
|
||||
import type { ClIconProps } from "../cl-icon/props";
|
||||
|
||||
export type ClInputPassThrough = {
|
||||
className?: string;
|
||||
inner?: PassThroughProps;
|
||||
prefixIcon?: ClIconProps;
|
||||
suffixIcon?: ClIconProps;
|
||||
};
|
||||
|
||||
export type ClInputProps = {
|
||||
className?: string;
|
||||
pt?: ClInputPassThrough;
|
||||
modelValue?: string;
|
||||
type?: ClInputType;
|
||||
prefixIcon?: string;
|
||||
suffixIcon?: string;
|
||||
password?: boolean;
|
||||
autofocus?: boolean;
|
||||
disabled?: boolean;
|
||||
readonly?: boolean;
|
||||
placeholder?: string;
|
||||
placeholderClass?: string;
|
||||
border?: boolean;
|
||||
clearable?: boolean;
|
||||
cursorSpacing?: number;
|
||||
confirmHold?: boolean;
|
||||
confirmType?: "done" | "go" | "next" | "search" | "send";
|
||||
adjustPosition?: boolean;
|
||||
maxlength?: number;
|
||||
holdKeyboard?: boolean;
|
||||
};
|
||||
Reference in New Issue
Block a user