@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.js
CHANGED
|
@@ -3302,12 +3302,13 @@ function GoabModal({
|
|
|
3302
3302
|
ref: el,
|
|
3303
3303
|
open: open ? "true" : void 0,
|
|
3304
3304
|
closable: onClose ? "true" : "false",
|
|
3305
|
+
heading: typeof heading === "string" ? heading : void 0,
|
|
3305
3306
|
maxwidth: maxWidth,
|
|
3306
3307
|
transition,
|
|
3307
3308
|
calloutvariant: calloutVariant,
|
|
3308
3309
|
testid: testId,
|
|
3309
3310
|
children: [
|
|
3310
|
-
heading && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "heading", children: heading }),
|
|
3311
|
+
heading && typeof heading !== "string" && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "heading", children: heading }),
|
|
3311
3312
|
actions && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "actions", children: actions }),
|
|
3312
3313
|
children
|
|
3313
3314
|
]
|