import React from 'react'; import { BasicInputProps } from './props'; export interface InputProps extends BasicInputProps { /** * 输入框类型 * @en Input box type * @default "text" */ type?: string; /** * 检查控件值的正则表达式 * @en Regular expression to check the value of input box */ pattern?: string; /** * 输入框dom自定义类名 * @en Custom classname for input DOM */ inputClass?: string; /** * 输入框dom自定义样式 * @en Custom style for input DOM */ inputStyle?: React.CSSProperties; /** * 其他未列出的原生属性,优先级低于已列出的组件属性 * @en Other unlisted native properties have lower priority than listed component properties */ nativeProps?: React.InputHTMLAttributes; /** * 无障碍label * @en accessible label */ ariaLabel?: string; } export interface InputRef { /** * 最外层元素 DOM * @en The outermost element DOM */ dom: HTMLDivElement | null; /** * 原生输入框 DOM * @en Native input DOM */ input: HTMLInputElement | null; } declare const _default: React.ForwardRefExoticComponent> & { displayName?: string | undefined; }; /** * 输入框组件,支持添加前后缀。 * @en The input box, supports adding prefixes and suffixes. * @type 数据录入 * @type_en Data Entry * @name 输入框 * @name_en Input * @displayName Input */ export default _default;