import _objectSpread from "@babel/runtime/helpers/objectSpread2";
import { defineMessage } from 'react-intl';
import form from './form';
export default (function (props) {
  var _props$config, _props$config2;

  var _form = form(props),
      schema = _form.schema,
      uiSchema = _form.uiSchema;

  return {
    schema: _objectSpread(_objectSpread({}, schema), {}, {
      requireAtLeastOne: props === null || props === void 0 ? void 0 : (_props$config = props.config) === null || _props$config === void 0 ? void 0 : _props$config.requireAtLeastOne,
      handleFalseAsUndefined: props === null || props === void 0 ? void 0 : (_props$config2 = props.config) === null || _props$config2 === void 0 ? void 0 : _props$config2.handleFalseAsUndefined,
      originalConfig: props === null || props === void 0 ? void 0 : props.config
    }),
    uiSchema: uiSchema
  };
});
export var name = defineMessage({
  id: "G2ZRgz",
  defaultMessage: [{
    "type": 0,
    "value": "Kysymysryhmä"
  }]
});
export var elementType = 'element';
//# sourceMappingURL=formGroup.js.map