react-native-ui-lib 7.40.1-snapshot.6830 → 7.40.1-snapshot.6835
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
|
@@ -229,14 +229,14 @@ class Drawer extends PureComponent {
|
|
|
229
229
|
{!item.customElement && item.icon && <Animated.Image source={item.icon} style={[styles.actionIcon, {
|
|
230
230
|
width: itemsIconSize,
|
|
231
231
|
height: itemsIconSize,
|
|
232
|
-
tintColor:
|
|
232
|
+
tintColor: itemsTintColor,
|
|
233
233
|
opacity,
|
|
234
234
|
transform: [{
|
|
235
235
|
scale
|
|
236
236
|
}]
|
|
237
237
|
}]} />}
|
|
238
238
|
{!item.customElement && item.text && <Animated.Text style={[styles.actionText, {
|
|
239
|
-
color:
|
|
239
|
+
color: itemsTintColor,
|
|
240
240
|
opacity,
|
|
241
241
|
transform: [{
|
|
242
242
|
scale
|
|
@@ -49,14 +49,17 @@ const Point = props => {
|
|
|
49
49
|
}, [type, color, label, removeIconBackground, icon]);
|
|
50
50
|
const renderPointContent = () => {
|
|
51
51
|
const {
|
|
52
|
-
removeIconBackground
|
|
52
|
+
removeIconBackground,
|
|
53
|
+
labelColor
|
|
53
54
|
} = props;
|
|
54
55
|
const tintColor = removeIconBackground ? Colors.$iconDefault : Colors.$iconDefaultLight;
|
|
55
56
|
const iconSize = removeIconBackground ? undefined : ICON_SIZE;
|
|
56
57
|
if (icon) {
|
|
57
58
|
return <Icon tintColor={tintColor} {...iconProps} size={iconSize} source={icon} />;
|
|
58
59
|
} else if (label) {
|
|
59
|
-
return <Text recorderTag={'unmask'} $textDefaultLight subtextBold
|
|
60
|
+
return <Text recorderTag={'unmask'} $textDefaultLight subtextBold color={labelColor}>
|
|
61
|
+
{label}
|
|
62
|
+
</Text>;
|
|
60
63
|
}
|
|
61
64
|
};
|
|
62
65
|
return <View center style={pointStyle} onLayout={onLayout}>
|