import React, { InputHTMLAttributes } from 'react'; import { InputProps } from '../types'; /** * Text Field component. It follows the props from react-final-form */ export interface IInputText extends InputProps { /** Hide the number type default buttons */ isWithoutNumberControls?: boolean; /** Leading element, most likely an icon */ leading?: React.ReactNode; /** Trailing element, most likely an icon */ trailing?: React.ReactNode; /** placeholder text */ placeholder?: string; defaultValue?: string; /** @deprecated, use isDisabled instead */ disabled?: InputHTMLAttributes['disabled']; /** @deprecated, use type instead */ inputType?: InputHTMLAttributes['type']; autoFocus?: InputHTMLAttributes['autoFocus']; tabIndex?: InputHTMLAttributes['tabIndex']; type?: InputHTMLAttributes['type']; maxLength?: InputHTMLAttributes['maxLength']; autoComplete?: InputHTMLAttributes['autoComplete']; inputMode?: InputHTMLAttributes['inputMode']; } export declare const InputText: React.FC;