import { defineMessage } from 'react-intl';
import extendType from './_extendType';
import _dummy from './_dummy';
export default extendType(_dummy, function (_ref) {
  var _ref$config = _ref.config,
      content = _ref$config.content,
      type = _ref$config.type;
  return function (props) {
    var _props$uiSchema;

    props.schema.additionalType = type;
    (_props$uiSchema = props.uiSchema) !== null && _props$uiSchema !== void 0 ? _props$uiSchema : props.uiSchema = {};

    props.uiSchema['ui:field'] = function () {
      return null;
    };

    props.uiSchema['ui:should-update'] = content;
    props.uiSchema['ui:widget'] = 'hidden';
  };
});
export var name = defineMessage({
  id: "FcBXcB",
  defaultMessage: [{
    "type": 0,
    "value": "Yhteenveto"
  }]
});
export var elementType = 'element';
//# sourceMappingURL=summary.js.map