import React, { TextareaHTMLAttributes } from 'react'; import { AriaFocusProps } from '../../types/common'; import { SizeProps } from '../../styles'; import { TextareaSize } from '../input/types'; export interface AutoSizeType { minRows?: number; maxRows?: number; } export interface TextareaProps extends TextareaHTMLAttributes, SizeProps, AriaFocusProps { /** @default 'large' */ size?: TextareaSize; error?: boolean; /** * 입력된 value count 노출 여부 * @default false */ showCounter?: boolean; /** * 입혁하는 텍스트에 따라 자동으로 크기를 조절하며 최소/최대 라인수를 설정할 수 있습니다. * - height 또는 textarea 기본 rows 속성이 있을 경우 적용되지 않습니다. * - autoSize를 사용할 경우 기본 resize는 none처리됩니다. * - minRows(최소 행 수)의 기본값은 2입니다. * - maxRows(최대 행 수)를 넘어갈 경우 자동 내부 스크롤 처리됩니다. * @default false */ autoSize?: boolean | AutoSizeType; } export declare const Textarea: React.ForwardRefExoticComponent>;