|
@@ -42,6 +42,7 @@ const Button: FC<IButtonProps> = ({
|
|
|
customTheme,
|
|
customTheme,
|
|
|
titleStyle,
|
|
titleStyle,
|
|
|
isLoading,
|
|
isLoading,
|
|
|
|
|
+ iconSize,
|
|
|
onPress,
|
|
onPress,
|
|
|
title,
|
|
title,
|
|
|
style,
|
|
style,
|
|
@@ -100,7 +101,7 @@ const Button: FC<IButtonProps> = ({
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const iconProps: NCoreUIKit.IconCallbackProps = {
|
|
const iconProps: NCoreUIKit.IconCallbackProps = {
|
|
|
- size: Number(typography[currentSize.fontSize].fontSize),
|
|
|
|
|
|
|
+ size: iconSize ? iconSize : Number(typography[currentSize.fontSize].fontSize),
|
|
|
color: currentType.iconColor
|
|
color: currentType.iconColor
|
|
|
};
|
|
};
|
|
|
|
|
|