react-native-ui-lib 7.40.1-snapshot.6835 → 7.40.1-snapshot.6836
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/package.json
CHANGED
|
@@ -49,17 +49,14 @@ const Point = props => {
|
|
|
49
49
|
}, [type, color, label, removeIconBackground, icon]);
|
|
50
50
|
const renderPointContent = () => {
|
|
51
51
|
const {
|
|
52
|
-
removeIconBackground
|
|
53
|
-
labelColor
|
|
52
|
+
removeIconBackground
|
|
54
53
|
} = props;
|
|
55
54
|
const tintColor = removeIconBackground ? Colors.$iconDefault : Colors.$iconDefaultLight;
|
|
56
55
|
const iconSize = removeIconBackground ? undefined : ICON_SIZE;
|
|
57
56
|
if (icon) {
|
|
58
57
|
return <Icon tintColor={tintColor} {...iconProps} size={iconSize} source={icon} />;
|
|
59
58
|
} else if (label) {
|
|
60
|
-
return <Text recorderTag={'unmask'} $textDefaultLight subtextBold
|
|
61
|
-
{label}
|
|
62
|
-
</Text>;
|
|
59
|
+
return <Text recorderTag={'unmask'} $textDefaultLight subtextBold>{label}</Text>;
|
|
63
60
|
}
|
|
64
61
|
};
|
|
65
62
|
return <View center style={pointStyle} onLayout={onLayout}>
|