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