@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.mjs
CHANGED
|
@@ -3145,6 +3145,7 @@ function GoabHeroBannerActions({
|
|
|
3145
3145
|
function GoabIconButton({
|
|
3146
3146
|
variant = "color",
|
|
3147
3147
|
size = "medium",
|
|
3148
|
+
theme = "outline",
|
|
3148
3149
|
disabled,
|
|
3149
3150
|
onClick,
|
|
3150
3151
|
actionArgs,
|
|
@@ -3153,7 +3154,7 @@ function GoabIconButton({
|
|
|
3153
3154
|
...rest
|
|
3154
3155
|
}) {
|
|
3155
3156
|
const ref = useRef(null);
|
|
3156
|
-
const _props = transformProps({ variant, size, ...rest }, lowercase);
|
|
3157
|
+
const _props = transformProps({ variant, size, theme, ...rest }, lowercase);
|
|
3157
3158
|
useEffect(() => {
|
|
3158
3159
|
if (!ref.current) {
|
|
3159
3160
|
return;
|