import { Fragment, useRef } from "@wordpress/element";
import { ProTopBar } from "../shared/helpFn";
import LoopContent from "./loopContent";
import { breakpoint } from "../../controls/controls";
const Render = ({ attributes, posts }) => {
const deviceType = breakpoint();
const {
postGridLayout,
catTabCategoryPosition,
blockName,
// gridFourMasonryEnable
} = attributes;
const HtmlTag = "div";
const containerRef = useRef(null);
return (
<>