import React from 'react';
import ProField from '../../../wau-field';
import createField from '../../create-field';
/**
 * 文本选择组件
 *
 * @param
 */
import { jsx as _jsx } from "react/jsx-runtime";
const ProFormTextArea = ({
  fieldProps,
  proFieldProps
}, ref) => {
  return /*#__PURE__*/_jsx(ProField, {
    text: fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.value,
    ref: ref,
    mode: "edit",
    valueType: "textarea",
    fieldProps: fieldProps,
    ...proFieldProps
  });
};
export default createField( /*#__PURE__*/React.forwardRef(ProFormTextArea));