@abgov/react-components 7.0.0-dev.4 → 7.0.0-dev.6
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 +2 -1
- package/index.js.map +1 -1
- package/index.mjs +2 -1
- package/index.mjs.map +1 -1
- package/lib/icon-button/icon-button.d.ts +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3147,6 +3147,7 @@ function GoabHeroBannerActions({
|
|
|
3147
3147
|
function GoabIconButton({
|
|
3148
3148
|
variant = "color",
|
|
3149
3149
|
size = "medium",
|
|
3150
|
+
theme = "outline",
|
|
3150
3151
|
disabled,
|
|
3151
3152
|
onClick,
|
|
3152
3153
|
actionArgs,
|
|
@@ -3155,7 +3156,7 @@ function GoabIconButton({
|
|
|
3155
3156
|
...rest
|
|
3156
3157
|
}) {
|
|
3157
3158
|
const ref = react.useRef(null);
|
|
3158
|
-
const _props = transformProps({ variant, size, ...rest }, lowercase);
|
|
3159
|
+
const _props = transformProps({ variant, size, theme, ...rest }, lowercase);
|
|
3159
3160
|
react.useEffect(() => {
|
|
3160
3161
|
if (!ref.current) {
|
|
3161
3162
|
return;
|