import { PressEvents, RefObject, ValidationResult } from "@react-types/shared"; import React, { HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, ReactElement, TextareaHTMLAttributes } from "react"; import { SpectrumTextFieldProps, TextFieldRef, SpectrumTextAreaProps } from "@react-types/textfield"; interface TextFieldBaseProps extends Omit, PressEvents, Partial { wrapperChildren?: ReactElement | ReactElement[]; inputClassName?: string; validationIconClassName?: string; multiLine?: boolean; labelProps?: LabelHTMLAttributes; inputProps: InputHTMLAttributes | TextareaHTMLAttributes; descriptionProps?: HTMLAttributes; errorMessageProps?: HTMLAttributes; inputRef?: RefObject; loadingIndicator?: ReactElement; isLoading?: boolean; disableFocusRing?: boolean; } export const TextFieldBase: React.ForwardRefExoticComponent>>; /** * TextAreas are multiline text inputs, useful for cases where users have * a sizable amount of text to enter. They allow for all customizations that * are available to text fields. */ export const TextArea: React.ForwardRefExoticComponent>>; /** * TextFields are text inputs that allow users to input custom text entries * with a keyboard. Various decorations can be displayed around the field to * communicate the entry requirements. */ export const TextField: React.ForwardRefExoticComponent>>; export type { SpectrumTextFieldProps, SpectrumTextAreaProps } from '@react-types/textfield'; //# sourceMappingURL=types.d.ts.map