ikualo-ui-kit-mobile 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app.json
CHANGED
|
@@ -23,7 +23,8 @@ export const getStylesDialog = (theme: ITheme) =>
|
|
|
23
23
|
backgroundColor: theme.colors.background_card,
|
|
24
24
|
paddingHorizontal: 24,
|
|
25
25
|
paddingVertical: 32,
|
|
26
|
-
|
|
26
|
+
borderTopLeftRadius: 21,
|
|
27
|
+
borderTopRightRadius: 21,
|
|
27
28
|
elevation: 5,
|
|
28
29
|
position: 'relative',
|
|
29
30
|
},
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ export const BtnLightSmall = (props: IBtnLightSmall) => {
|
|
|
11
11
|
const theme = useStore().theme;
|
|
12
12
|
const stylesBtnLightSmall = getStylesBtnLightSmall(theme);
|
|
13
13
|
|
|
14
|
-
const { onPress, icon, disabled = false, active, isLoading, text, transparent, maxWidth } = props;
|
|
14
|
+
const { onPress, icon, disabled = false, active, isLoading, text, transparent, maxWidth, iconSize } = props;
|
|
15
15
|
const color = active
|
|
16
16
|
? stylesBtnLightSmall['btn-light-small--active'].borderColor
|
|
17
17
|
: disabled
|
|
@@ -43,7 +43,7 @@ export const BtnLightSmall = (props: IBtnLightSmall) => {
|
|
|
43
43
|
{!isLoading ? (
|
|
44
44
|
<View style={stylesBtnLightSmall['btn-light-small-icon']}>
|
|
45
45
|
{cloneElement(icon, {
|
|
46
|
-
size: 21,
|
|
46
|
+
size: iconSize || 21,
|
|
47
47
|
color: color,
|
|
48
48
|
style: stylesBtnLightSmall['btn-light-small-icon--cloned'],
|
|
49
49
|
})}
|