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 ({ ...@@ -28,7 +28,7 @@ export default ({
icon, icon,
fontIcon, fontIcon,
onClick, onClick,
// iconSize = 3, iconSize = 3,
disabled, disabled,
...props ...props
}) => ( }) => (
...@@ -37,11 +37,15 @@ export default ({ ...@@ -37,11 +37,15 @@ export default ({
onClick={!disabled ? onClick : null} onClick={!disabled ? onClick : null}
{...props} {...props}
> >
{icon && <Icon {...props}>{icon}</Icon>} {icon && (
<Icon size={iconSize} {...props}>
{icon}
</Icon>
)}
{fontIcon && ( {fontIcon && (
<FontIconButton <FontIconButton
className={`${fontIcon} fontIconStyle`} className={`${fontIcon} fontIconStyle`}
// size={iconSize} size={iconSize}
{...props} {...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