Skip to content

Commit ff016cc

Browse files
authored
fix(fuselage): Reintroduce children to IconButton (#1061)
1 parent e2f7453 commit ff016cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/fuselage/src/components/Button/IconButton.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export const IconButton = forwardRef(
5757
small,
5858
medium,
5959
pressed,
60+
children,
6061
...props
6162
}: IconButtonProps,
6263
ref: Ref<HTMLElement>
@@ -131,6 +132,7 @@ export const IconButton = forwardRef(
131132
ref={ref}
132133
{...props}
133134
>
135+
{children}
134136
{isValidElement(icon) ? (
135137
icon
136138
) : (

0 commit comments

Comments
 (0)