UNPKG

@rws-aoa/react-library

Version:

RWS AOA Design System

26 lines (25 loc) 941 B
import { jsx as c, jsxs as s } from "react/jsx-runtime"; import { c as m } from "../../../chunks/compiler-runtime.CrLvXwKf.js"; import { Container as p, Box as d } from "@mui/material"; import { AoaSectionHeader as f } from "../../atoms/section-header/SectionHeader.js"; function j(n) { const e = m.c(10); let t, i, o; e[0] !== n ? ({ children: t, sectionHeaderProps: o, ...i } = n, e[0] = n, e[1] = t, e[2] = i, e[3] = o) : (t = e[1], i = e[2], o = e[3]); const l = i["data-qa"]; let r; e[4] !== o ? (r = /* @__PURE__ */ c(f, { ...o }), e[4] = o, e[5] = r) : r = e[5]; let a; return e[6] !== t || e[7] !== l || e[8] !== r ? (a = /* @__PURE__ */ c(p, { maxWidth: "xl", children: /* @__PURE__ */ s(d, { "data-qa": l, marginTop: "calc(8 * 4px)", children: [ r, t ] }) }), e[6] = t, e[7] = l, e[8] = r, e[9] = a) : a = e[9], a; } export { j as AoaContentPage }; //# sourceMappingURL=ContentPage.js.map