import React from 'react';
import PropTypes from 'prop-types';
import { Input } from 'antd';
import { jsx as _jsx } from "react/jsx-runtime";
const TextAreaFormFieldValue = props => {
  const handleChange = event => {
    const {
      onChange
    } = props;
    onChange(event.target.value);
  };
  const {
    value
  } = props;
  return /*#__PURE__*/_jsx(Input.TextArea, {
    rows: 3,
    ...props,
    /* eslint-disable-line react/jsx-props-no-spreading */
    value: value,
    onChange: handleChange
  });
};
TextAreaFormFieldValue.propTypes = {
  value: PropTypes.string,
  onChange: PropTypes.func
};
TextAreaFormFieldValue.defaultProps = {
  value: '',
  onChange: () => {}
};
export default TextAreaFormFieldValue;
//# sourceMappingURL=TextAreaFormFieldValue.js.map