import { CSSProperties } from 'vue'; import { CompSize, IconType } from '../../utils'; export interface InputProps { modelValue?: string | number; placeholder?: string; /** 尺寸 */ size?: CompSize; /** 输入框左边图标 输入框左边图标 === prefixIcon, 需要传入组件 */ iconLeft?: IconType; /** 输入框右边图标 输入框右边图标 === suffixIcon, 需要传入组件 */ iconRight?: IconType; /** el属性,左边图标 */ prefixIcon?: IconType; /** el属性,右边图标 */ suffixIcon?: IconType; /** 是否使用密码框 */ showPassword?: boolean; /** 输入框类型 */ type?: string; selectable?: boolean; filterable?: boolean; options?: (string | number)[]; popperClass?: string; popperStyle?: CSSProperties; teleported?: boolean; allowResize?: boolean; }