@abgov/react-components 7.2.0-dev.23 → 7.2.0-dev.24
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
|
@@ -3316,6 +3316,7 @@ function GoabHeroBannerActions({
|
|
|
3316
3316
|
}
|
|
3317
3317
|
function GoabIconButton({
|
|
3318
3318
|
variant = "color",
|
|
3319
|
+
type = "default",
|
|
3319
3320
|
size = "medium",
|
|
3320
3321
|
theme = "outline",
|
|
3321
3322
|
disabled,
|
|
@@ -3326,7 +3327,7 @@ function GoabIconButton({
|
|
|
3326
3327
|
...rest
|
|
3327
3328
|
}) {
|
|
3328
3329
|
const ref = useRef(null);
|
|
3329
|
-
const _props = transformProps({ variant, size, theme, ...rest }, lowercase);
|
|
3330
|
+
const _props = transformProps({ variant, type, size, theme, ...rest }, lowercase);
|
|
3330
3331
|
useEffect(() => {
|
|
3331
3332
|
if (!ref.current) {
|
|
3332
3333
|
return;
|