@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.js
CHANGED
|
@@ -3318,6 +3318,7 @@ function GoabHeroBannerActions({
|
|
|
3318
3318
|
}
|
|
3319
3319
|
function GoabIconButton({
|
|
3320
3320
|
variant = "color",
|
|
3321
|
+
type = "default",
|
|
3321
3322
|
size = "medium",
|
|
3322
3323
|
theme = "outline",
|
|
3323
3324
|
disabled,
|
|
@@ -3328,7 +3329,7 @@ function GoabIconButton({
|
|
|
3328
3329
|
...rest
|
|
3329
3330
|
}) {
|
|
3330
3331
|
const ref = react.useRef(null);
|
|
3331
|
-
const _props = transformProps({ variant, size, theme, ...rest }, lowercase);
|
|
3332
|
+
const _props = transformProps({ variant, type, size, theme, ...rest }, lowercase);
|
|
3332
3333
|
react.useEffect(() => {
|
|
3333
3334
|
if (!ref.current) {
|
|
3334
3335
|
return;
|