Skip to content

Commit 5faf97f

Browse files
committed
fix: add icon props
1 parent ad12bc9 commit 5faf97f

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)