import { CSSObject } from 'styled-components'; export type TextAreaProps = { value: string; placeholder: string; disabled?: boolean; autoFocus?: boolean; onChange: (e: React.ChangeEvent) => void; onFocus?: (e: React.FocusEvent) => void; onBlur?: (e: React.FocusEvent) => void; rows?: number; cols?: number; label?: string; sublabel?: string; hintText?: string; helpIconHintText?: string; helpIconText?: string; required?: boolean; error?: boolean; errorMessage?: string; resize?: 'none' | 'both' | 'horizontal' | 'vertical' | 'block' | 'inline'; wrap?: CSSObject['whiteSpace']; } & Omit, 'size' | 'style' | 'className' | 'onFocus' | 'onBlur'>;