@abgov/react-components 5.0.0-alpha.2 → 5.0.0-alpha.3
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 +3 -2
- package/index.js.map +1 -1
- package/index.mjs +3 -2
- package/index.mjs.map +1 -1
- package/lib/microsite-header/microsite-header.d.ts +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2863,12 +2863,13 @@ function GoAMicrositeHeader({
|
|
|
2863
2863
|
"goa-microsite-header",
|
|
2864
2864
|
{
|
|
2865
2865
|
type,
|
|
2866
|
-
version,
|
|
2866
|
+
version: typeof version === "string" ? version : void 0,
|
|
2867
2867
|
feedbackurl: feedbackUrl,
|
|
2868
2868
|
"data-testid": testId,
|
|
2869
2869
|
maxcontentwidth: maxContentWidth,
|
|
2870
2870
|
feedbackurltarget: feedbackUrlTarget,
|
|
2871
|
-
headerurltarget: headerUrlTarget
|
|
2871
|
+
headerurltarget: headerUrlTarget,
|
|
2872
|
+
children: version && typeof version !== "string" && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "version", children: version })
|
|
2872
2873
|
}
|
|
2873
2874
|
);
|
|
2874
2875
|
}
|