@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
15 lines (13 loc) • 476 B
TypeScript
import { InputProps } from 'element-plus';
import { 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>>;