import type { FC, DetailedHTMLProps, HTMLAttributes } from 'react'; import type { TextAreaResize, TextAreaWrap } from '../../components/textarea/pharos-textarea'; export interface PharosTextareaProps extends DetailedHTMLProps, HTMLElement> { /** * Indicates textarea value. */ value?: string; /** * Indicates width of text area. */ cols?: number; /** * Sends the direction the text is read with the name. */ dirname?: string; /** * Defines the maximum number of characters the user can enter */ maxlength?: number | undefined; /** * Defines the minimum number of characters the user can enter */ minlength?: number | undefined; /** * Display text when textarea is empty */ placeholder?: string; /** * Indicates if textarea is readonly. */ readonly?: boolean; /** * Indicates how many rows should the textarea be. */ rows?: number; /** * Makes the text area resizeable */ resize?: TextAreaResize; /** * Indicate whether the sumbitted value should be wrapped (Include new lines) */ wrap?: TextAreaWrap; /** * Pattern to validate the textarea against */ pattern?: string | undefined; /** * Name for the form element. */ name?: string; /** * Indicates if input is required. */ required?: boolean; /** * Indicates if input is disabled. */ disabled?: boolean; /** * Indicates an invalidated state. */ invalidated?: boolean; /** * Indicates a validated state. */ validated?: boolean; /** * The message to display below the input. */ message?: string; /** * Indicates if the label should be hidden. */ hideLabel?: boolean; } export declare const PharosTextarea: FC; //# sourceMappingURL=pharos-textarea.d.ts.map