jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/es/Input/props.d.ts
2024-11-10 15:01:22 +08:00

30 lines
789 B
TypeScript

import { IBaseProps } from '../_base';
/**
* @description 输入框。
*/
export interface InputProps extends IBaseProps {
value?: string;
defaultValue?: string;
placeholder?: string;
placeholderClassName?: string;
placeholderStyle?: string;
allowClear?: boolean;
enableNative?: boolean;
confirmType?: string;
confirmHold?: string;
alwaysSystem?: boolean;
selectionStart?: number;
selectionEnd?: number;
cursor?: number;
maxLength?: number;
inputClassName?: string;
inputStyle?: string;
password?: boolean;
onChange?: (value: string, e: any) => void;
onBlur?: (value: string, e: any) => void;
onFocus?: (value: string, e: any) => void;
onConfirm?: (value: string, e: any) => void;
}
export declare const InputDefaultProps: Partial<InputProps>;