@abgov/react-components 7.2.0-dev.13 → 7.2.0-dev.14
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 +7 -2
- package/index.js.map +1 -1
- package/index.mjs +7 -2
- package/index.mjs.map +1 -1
- package/lib/block/block.d.ts +4 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -133,9 +133,14 @@ function GoabBadge({
|
|
|
133
133
|
}
|
|
134
134
|
);
|
|
135
135
|
}
|
|
136
|
-
function GoabBlock({
|
|
136
|
+
function GoabBlock({
|
|
137
|
+
testId,
|
|
138
|
+
stretch,
|
|
139
|
+
children,
|
|
140
|
+
...rest
|
|
141
|
+
}) {
|
|
137
142
|
const _props = transformProps({ testid: testId, ...rest }, kebab);
|
|
138
|
-
return /* @__PURE__ */ jsx("goa-block", { ..._props, children });
|
|
143
|
+
return /* @__PURE__ */ jsx("goa-block", { ..._props, stretch: stretch ? "true" : void 0, children });
|
|
139
144
|
}
|
|
140
145
|
function GoabButton({
|
|
141
146
|
disabled,
|