import { j as jsxRuntimeExports } from "../../../../../_virtual/jsx-runtime.js";
import { forwardRef } from "react";
import BrickComponent from "./BrickComponent.js";
import { useBrickWrapperStyle } from "../hooks/use-brick-style.js";
const BrickWrapper = forwardRef(({ brick }, ref) => {
  const wrapperClass = useBrickWrapperStyle({
    brick
  });
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: brick.id, className: wrapperClass, ref, children: /* @__PURE__ */ jsxRuntimeExports.jsx(BrickComponent, { brick }) });
});
export {
  BrickWrapper as default
};
//# sourceMappingURL=BrickWrapper.js.map
