We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fc1291 commit 642ebafCopy full SHA for 642ebaf
1 file changed
lib/button.tsx
@@ -69,10 +69,12 @@ export type ButtonIconProps<
69
}
70
>;
71
72
-const IconBox: FC<BoxProps<'span'> & {
73
- icon: ReactElement | FC;
74
- capSize?: FontSize;
75
-}> = ({ icon, className, ...props }) => (
+const IconBox: FC<
+ BoxProps<'span'> & {
+ icon: ReactElement | FC;
+ capSize?: FontSize;
76
+ }
77
+> = ({ icon, className, ...props }) => (
78
<Box {...props} component="span" className={[className, iconClassName]}>
79
{isValidElement<ReactElementDefaultPropsType>(icon)
80
? icon
0 commit comments