import { jsxDEV } from "react/jsx-dev-runtime";
import { Layout, Box, Heading, Stack, Spacer } from "@contember/ui";
import { memo } from "react";
const MiscPageLayout = memo(({ footerActions, heading, children, ...props }) => /* @__PURE__ */ jsxDEV(Layout, { children: /* @__PURE__ */ jsxDEV("div", { className: "centerCard", children: /* @__PURE__ */ jsxDEV("div", { className: "centerCard-in", children: [
  /* @__PURE__ */ jsxDEV(
    Box,
    {
      gap: "large",
      label: heading && (typeof heading === "string" ? /* @__PURE__ */ jsxDEV(Heading, { depth: 1, size: "small", children: heading }, void 0, false, {
        fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
        lineNumber: 18,
        columnNumber: 9
      }, void 0) : heading),
      ...props,
      children: /* @__PURE__ */ jsxDEV(Stack, { gap: "large", children }, void 0, false, {
        fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
        lineNumber: 23,
        columnNumber: 6
      }, void 0)
    },
    void 0,
    false,
    {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 15,
      columnNumber: 5
    },
    void 0
  ),
  footerActions && /* @__PURE__ */ jsxDEV("div", { style: { position: "sticky", bottom: 0 }, children: [
    /* @__PURE__ */ jsxDEV(Spacer, { gap: "large" }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 28,
      columnNumber: 6
    }, void 0),
    /* @__PURE__ */ jsxDEV(Stack, { horizontal: true, children: footerActions }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 29,
      columnNumber: 6
    }, void 0)
  ] }, void 0, true, {
    fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
    lineNumber: 27,
    columnNumber: 23
  }, void 0)
] }, void 0, true, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 14,
  columnNumber: 4
}, void 0) }, void 0, false, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 13,
  columnNumber: 3
}, void 0) }, void 0, false, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 12,
  columnNumber: 2
}, void 0));
MiscPageLayout.displayName = "MiscPageLayout";
export {
  MiscPageLayout
};
//# sourceMappingURL=MiscPageLayout.js.map
