import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from "react";
import { Form } from "@alicloudfe/components";
import cls from "classnames";

var BDesignContainer = function BDesignContainer(props) {
  var className = props.className,
      _props$size = props.size,
      size = _props$size === void 0 ? 'large' : _props$size,
      rest = _objectWithoutProperties(props, ["className", "size"]);

  return /*#__PURE__*/React.createElement(Form, _extends({
    className: cls(className, {}),
    size: size
  }, rest));
};

BDesignContainer.Item = Form.Item;
BDesignContainer.Submit = Form.Submit;
BDesignContainer.Reset = Form.Reset;
BDesignContainer.Error = Form.Error;
export default BDesignContainer;