Skip to content
Snippets Groups Projects
Commit 3d1138f9 authored by Sinzeanu Demetriad's avatar Sinzeanu Demetriad
Browse files

revert(IconButton): Reverted size for FontIconButton

parent f6cc1274
No related branches found
No related tags found
3 merge requests!222Sprint #26,!217Sprint #26,!190Hin 1141
......@@ -28,7 +28,7 @@ export default ({
icon,
fontIcon,
onClick,
// iconSize = 3,
iconSize = 3,
disabled,
...props
}) => (
......@@ -37,11 +37,15 @@ export default ({
onClick={!disabled ? onClick : null}
{...props}
>
{icon && <Icon {...props}>{icon}</Icon>}
{icon && (
<Icon size={iconSize} {...props}>
{icon}
</Icon>
)}
{fontIcon && (
<FontIconButton
className={`${fontIcon} fontIconStyle`}
// size={iconSize}
size={iconSize}
{...props}
/>
)}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment