@pusdn/pgz-comp-elep
Version:
PGZ组件库,Vue3 中基于Element-Plus二次封装基础组件文档
14 lines (13 loc) • 485 B
TypeScript
import type { InputProps } from 'element-plus';
import type { Mutable } from 'element-plus/es/utils';
export interface TInputSelfProps {
modelValue: string | number;
placeholder?: string;
decimalLimit?: number;
inputType?: "text" | "amount" | "decimal" | "phone" | "integer" | "idCard";
appendTitle?: string;
showThousands?: boolean;
isTip?: boolean;
isShowErrorTip?: boolean;
}
export type TInputProps = TInputSelfProps & Partial<Mutable<InputProps>>;