"use strict";

var _ = _interopRequireDefault(require(".."));

var _react = _interopRequireDefault(require("react"));

var _reactDom = _interopRequireDefault(require("react-dom"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_["default"].TextArea, {
  autoHeight: true,
  "aria-label": "auto height",
  placeholder: "autoHeight",
  onKeyDown: function onKeyDown(e, opts) {
    console.log('onKeyDown', opts);
  }
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_["default"].TextArea, {
  "aria-label": "auto height",
  autoHeight: {
    minRows: 2,
    maxRows: 6
  }
})), document.getElementById('input-demo-10'));