@abgov/react-components 7.2.0-dev.26 → 7.2.0-dev.27
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.js
CHANGED
|
@@ -4395,6 +4395,7 @@ function GoabTwoColumnLayout(props) {
|
|
|
4395
4395
|
);
|
|
4396
4396
|
}
|
|
4397
4397
|
const GoabFilterChip = ({
|
|
4398
|
+
content,
|
|
4398
4399
|
iconTheme = "outline",
|
|
4399
4400
|
error,
|
|
4400
4401
|
onClick,
|
|
@@ -4415,9 +4416,11 @@ const GoabFilterChip = ({
|
|
|
4415
4416
|
"goa-filter-chip",
|
|
4416
4417
|
{
|
|
4417
4418
|
ref: el,
|
|
4419
|
+
content: typeof content === "string" ? content : void 0,
|
|
4418
4420
|
error: error ? "true" : void 0,
|
|
4419
4421
|
version: "2",
|
|
4420
|
-
..._props
|
|
4422
|
+
..._props,
|
|
4423
|
+
children: typeof content !== "string" && content != null && /* @__PURE__ */ jsxRuntime.jsx("div", { slot: "content", children: content })
|
|
4421
4424
|
}
|
|
4422
4425
|
);
|
|
4423
4426
|
};
|