function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import { __rest } from "tslib";
import React, { createElement, forwardRef } from "react";
import Input from './input';

var TextArea = function TextArea(props, ref) {
  var _props$rows = props.rows,
      rows = _props$rows === void 0 ? 3 : _props$rows,
      multiline = props.multiline,
      other = __rest(props, ["rows", "multiline"]);

  return /*#__PURE__*/React.createElement(Input, _extends({
    ref: ref,
    multiline: true,
    rows: rows
  }, other));
};

export default /*#__PURE__*/forwardRef(TextArea);