• Parameters

    • props: Pick<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "name" | "autoFocus" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onClick" | "readOnly" | "autoComplete" | "disabled"> & {
          autoSize?: boolean | {
              maxRows?: number;
              minRows?: number;
          };
          defaultValue?: string;
          id?: string;
          maxLength?: number;
          onChange?: ((val) => void);
          placeholder?: string;
          rows?: number;
          showCount?: boolean | ((length, maxLength?) => ReactNode);
          value?: string;
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<"--color" | "--font-size" | "--placeholder-color" | "--text-align" | "--disabled-color" | "--count-text-align", string>>;
          tabIndex?: number;
      } & AriaAttributes & RefAttributes<TextAreaRef>

    Returns ReactNode

Properties

$$typeof: symbol
defaultProps?: Partial<Pick<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "name" | "autoFocus" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onClick" | "readOnly" | "autoComplete" | "disabled"> & {
    autoSize?: boolean | {
        maxRows?: number;
        minRows?: number;
    };
    defaultValue?: string;
    id?: string;
    maxLength?: number;
    onChange?: ((val) => void);
    placeholder?: string;
    rows?: number;
    showCount?: boolean | ((length, maxLength?) => ReactNode);
    value?: string;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--color" | "--font-size" | "--placeholder-color" | "--text-align" | "--disabled-color" | "--count-text-align", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<TextAreaRef>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<Pick<DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "name" | "autoFocus" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onClick" | "readOnly" | "autoComplete" | "disabled"> & {
    autoSize?: boolean | {
        maxRows?: number;
        minRows?: number;
    };
    defaultValue?: string;
    id?: string;
    maxLength?: number;
    onChange?: ((val) => void);
    placeholder?: string;
    rows?: number;
    showCount?: boolean | ((length, maxLength?) => ReactNode);
    value?: string;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--color" | "--font-size" | "--placeholder-color" | "--text-align" | "--disabled-color" | "--count-text-align", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<TextAreaRef>>

Generated using TypeDoc