@abgov/react-components 7.2.0-dev.26 → 7.2.0-dev.28
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 +4 -1
- package/index.js.map +1 -1
- package/index.mjs +4 -1
- package/index.mjs.map +1 -1
- package/lib/filter-chip/filter-chip.d.ts +8 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4393,6 +4393,7 @@ function GoabTwoColumnLayout(props) {
|
|
|
4393
4393
|
);
|
|
4394
4394
|
}
|
|
4395
4395
|
const GoabFilterChip = ({
|
|
4396
|
+
content,
|
|
4396
4397
|
iconTheme = "outline",
|
|
4397
4398
|
error,
|
|
4398
4399
|
onClick,
|
|
@@ -4413,9 +4414,11 @@ const GoabFilterChip = ({
|
|
|
4413
4414
|
"goa-filter-chip",
|
|
4414
4415
|
{
|
|
4415
4416
|
ref: el,
|
|
4417
|
+
content: typeof content === "string" ? content : void 0,
|
|
4416
4418
|
error: error ? "true" : void 0,
|
|
4417
4419
|
version: "2",
|
|
4418
|
-
..._props
|
|
4420
|
+
..._props,
|
|
4421
|
+
children: typeof content !== "string" && content != null && /* @__PURE__ */ jsx("div", { slot: "content", children: content })
|
|
4419
4422
|
}
|
|
4420
4423
|
);
|
|
4421
4424
|
};
|