@abgov/react-components 7.2.0-dev.24 → 7.2.0-dev.26

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.mjs CHANGED
@@ -136,6 +136,7 @@ function getIconValue(icon, iconType) {
136
136
  return iconType ? "true" : "false";
137
137
  }
138
138
  function GoabBadge({
139
+ content,
139
140
  icon,
140
141
  iconType,
141
142
  size = "medium",
@@ -148,10 +149,12 @@ function GoabBadge({
148
149
  {
149
150
  icon: getIconValue(icon, iconType),
150
151
  icontype: iconType,
152
+ content: typeof content === "string" ? content : void 0,
151
153
  ..._props,
152
154
  version: "2",
153
155
  size,
154
- emphasis
156
+ emphasis,
157
+ children: typeof content !== "string" && content != null && /* @__PURE__ */ jsx("div", { slot: "content", children: content })
155
158
  }
156
159
  );
157
160
  }