"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.elementType = exports.name = exports["default"] = void 0;

var _extendType = _interopRequireDefault(require("./_extendType"));

var _text = _interopRequireDefault(require("./text"));

var _reactIntl = require("react-intl");

var _default = (0, _extendType["default"])(_text["default"], function (_ref) {
  var config = _ref.config;
  return function (props) {
    var _props$uiSchema;

    (_props$uiSchema = props.uiSchema) !== null && _props$uiSchema !== void 0 ? _props$uiSchema : props.uiSchema = {};
    props.uiSchema['ui:widget'] = 'textarea';
  };
});

exports["default"] = _default;
var name = (0, _reactIntl.defineMessage)({
  id: "RVljsI",
  defaultMessage: [{
    "type": 0,
    "value": "Monirivinen tekstikenttä"
  }]
});
exports.name = name;
var elementType = 'field';
exports.elementType = elementType;
//# sourceMappingURL=textarea.cjs.map