@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
16 lines (14 loc) • 521 B
TypeScript
import { InputProps } from 'element-plus';
import { Mutable } from 'element-plus/es/utils';
export interface TInputSelfProps {
modelValue: string | number | null;
placeholder?: string;
decimalLimit?: number;
inputType?: "text" | "amount" | "decimal" | "phone" | "integer" | "idCard" | RegExp;
appendTitle?: string;
showThousands?: boolean;
isTip?: boolean;
isShowErrorTip?: boolean;
customErrorTip?: string;
}
export type TInputProps = TInputSelfProps & Partial<Mutable<InputProps>>;