/* eslint-disable dot-notation */ import React, { useRef, useState } from "react"; import classNames from "classnames"; import { StyledProps, Omit } from "../_type"; import { ControlledProps, useDefaultValue } from "../form/controlled"; import { forwardRefWithStatics } from "../_util/forward-ref-with-statics"; import { useConfig } from "../_util/config-context"; import { SizeType } from "../_type/Size"; import { noop } from "../_util/noop"; import { KeyMap } from "../_util/key-map"; /** * TextArea 组件支持的属性。 * * 除表格中列出的属性外,支持透传原生 `