@abgov/react-components 6.7.1-alpha.4 → 6.7.1-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/index.mjs +2 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3300,12 +3300,13 @@ function GoabModal({
|
|
|
3300
3300
|
ref: el,
|
|
3301
3301
|
open: open ? "true" : void 0,
|
|
3302
3302
|
closable: onClose ? "true" : "false",
|
|
3303
|
+
heading: typeof heading === "string" ? heading : void 0,
|
|
3303
3304
|
maxwidth: maxWidth,
|
|
3304
3305
|
transition,
|
|
3305
3306
|
calloutvariant: calloutVariant,
|
|
3306
3307
|
testid: testId,
|
|
3307
3308
|
children: [
|
|
3308
|
-
heading && /* @__PURE__ */ jsx("div", { slot: "heading", children: heading }),
|
|
3309
|
+
heading && typeof heading !== "string" && /* @__PURE__ */ jsx("div", { slot: "heading", children: heading }),
|
|
3309
3310
|
actions && /* @__PURE__ */ jsx("div", { slot: "actions", children: actions }),
|
|
3310
3311
|
children
|
|
3311
3312
|
]
|