Skip to content

Commit 6b3063c

Browse files
authored
Merge pull request #4910 from GeekyAnts/fix/icon-button-color
fix: add icon props in IconButton
2 parents ad12bc9 + 5faf97f commit 6b3063c

File tree

1 file changed

+1
-0
lines changed
  • src/components/composites/IconButton

1 file changed

+1
-0
lines changed

src/components/composites/IconButton/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ const IconButton = (
5151
if (icon) {
5252
clonedIcon = React.cloneElement(icon, {
5353
..._icon,
54+
...icon?.props,
5455
});
5556
}
5657

0 commit comments

Comments
 (0)