import { type ReactNode } from 'react'; import { type LabelProps } from './label'; import { type ChildrenProps, type HelperTextProps, type InputBaseProps, type RequiredProps, type SizesDictionaryType, type SpiritTextAreaElementPropsWithRef, type TextInputProps, type Validation, type ValidationTextProp } from './shared'; export type TextAreaElementBaseProps = Omit; export interface TextAreaProps extends TextAreaElementBaseProps, InputBaseProps, ChildrenProps, LabelProps, HelperTextProps, ValidationTextProp, TextInputProps, RequiredProps, Validation { autoResizingMaxHeight?: number; isAutoResizing?: boolean; label: ReactNode; size?: SizesDictionaryType; } export interface SpiritTextAreaProps extends TextAreaProps { }