import React, { useContext } from "react";
import { RicosContext } from "./../../../ricos-context/index.js";
import { FullscreenMobileLayout } from "../fullscreen-mobile-layout/fullscreen-mobile-layout.js";
import { FloatingDesktopLayout } from "./floating-desktop-layout.js";
const FloatingLayout = (props) => {
  const { isMobile } = useContext(RicosContext);
  const Layout = isMobile ? FullscreenMobileLayout : FloatingDesktopLayout;
  return /* @__PURE__ */ React.createElement(Layout, { ...props });
};
export {
  FloatingLayout
};
//# sourceMappingURL=floating-layout.js.map
