import type { HTMLProps, ReactNode } from 'react'; export type TTextAreaSize = 'sm' | 'md' | 'lg'; export type TTextAreaStatus = 'default' | 'error' | 'success'; export type TTextAreaVariant = 'inline' | 'outline'; export type TTextAreaProps = { /** Set the TextArea to have full width */ block?: boolean; /** Set the TextArea's caption. Have a certain icon according to the TextArea's status */ caption?: ReactNode; /** Set the TextArea's caption class name */ captionClassName?: string; /** Set the TextArea's class name */ className?: string; /** Set the TextArea to be disabled */ disabled?: boolean; /** Set the TextArea's hint */ hint?: ReactNode; /** Set the TextArea's hint class name */ hintClassName?: string; /** Set the TextArea's id */ id?: string; /** Set the TextArea's input class name */ inputClassName?: string; /** Set the TextArea's label */ label?: ReactNode; /** Set the TextArea's label class name */ labelClassName?: string; /** Set the TextArea's placeholder */ placeholder?: string; /** Set the TextArea's size */ size?: TTextAreaSize; /** Set the TextArea's status. This status affects the icon that is shown in caption when the caption is provided */ status?: TTextAreaStatus; /** Set the TextArea's variant */ variant?: TTextAreaVariant; } & Omit, 'size'>;