import * as React from "react";
import { ElementRoot } from "../../../../render/components/ElementRoot";
import ImageContainer from "./ImageContainer";

var Image = function Image(_ref) {
  var element = _ref.element;
  return /*#__PURE__*/React.createElement(ElementRoot, {
    element: element,
    className: "webiny-pb-base-page-element-style webiny-pb-page-element-image"
  }, /*#__PURE__*/React.createElement(ImageContainer, {
    elementId: element.id
  }));
};

export default Image;
//# sourceMappingURL=Image.js.map