import {
  ContentPostImageFragment
} from "./chunk-WN74WIFD.mjs";
import {
  ImageSlide
} from "./chunk-K65NETU4.mjs";

// tmp-babel/content-feed/web/PostImageSlide/index.js
import { useFragment } from "react-relay";
import { jsx as _jsx } from "react/jsx-runtime";
var PostImageSlide = function PostImageSlide2(_ref) {
  var _target$image;
  var imagesRef = _ref.imagesRef;
  var target = useFragment(ContentPostImageFragment, imagesRef);
  if (!(target !== null && target !== void 0 && (_target$image = target.image) !== null && _target$image !== void 0 && _target$image.url)) return null;
  return /* @__PURE__ */ _jsx(ImageSlide, {
    draggable: false,
    src: target.image.url,
    alt: "Post Image"
  });
};
var PostImageSlide_default = PostImageSlide;

export {
  PostImageSlide_default
};
//# sourceMappingURL=chunk-I2DMIUPI.mjs.map