react-native-ui-lib 7.38.1-snapshot.6302 → 7.38.1-snapshot.6304
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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
console.log(`inside index.web.js`);
|
|
2
|
+
export const icons = {
|
|
3
|
+
get check() {
|
|
4
|
+
return {uri: require('./check.png'), dimensions: {width: 24, height: 24}};
|
|
5
|
+
},
|
|
6
|
+
get checkSmall() {
|
|
7
|
+
return {uri: require('./check-small.png'), dimensions: {width: 24, height: 24}};
|
|
8
|
+
},
|
|
9
|
+
get minusSmall() {
|
|
10
|
+
return {uri: require('./minusSmall.png'), dimensions: {width: 24, height: 24}};
|
|
11
|
+
},
|
|
12
|
+
get plusSmall() {
|
|
13
|
+
return {uri: require('./plusSmall.png'), dimensions: {width: 24, height: 24}};
|
|
14
|
+
},
|
|
15
|
+
get search() {
|
|
16
|
+
return {uri: require('./search.png'), dimensions: {width: 24, height: 24}};
|
|
17
|
+
},
|
|
18
|
+
get x() {
|
|
19
|
+
return {uri: require('./x.png'), dimensions: {width: 24, height: 24}};
|
|
20
|
+
},
|
|
21
|
+
get xMedium() {
|
|
22
|
+
return {uri: require('./xMedium.png'), dimensions: {width: 24, height: 24}};
|
|
23
|
+
},
|
|
24
|
+
get xFlat() {
|
|
25
|
+
return {uri: require('./xFlat.png'), dimensions: {width: 24, height: 24}};
|
|
26
|
+
}
|
|
27
|
+
};
|
|
@@ -156,7 +156,7 @@ class Image extends PureComponent {
|
|
|
156
156
|
} = modifiers;
|
|
157
157
|
return (
|
|
158
158
|
// @ts-ignore
|
|
159
|
-
<ImageView style={[tintColor && {
|
|
159
|
+
<ImageView style={[Constants.isWeb && source?.dimensions, tintColor && {
|
|
160
160
|
tintColor
|
|
161
161
|
}, shouldFlipRTL && styles.rtlFlipped, width && {
|
|
162
162
|
width
|