react-crud-mobile 1.3.322 → 1.3.324
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/dist/react-crud-mobile.cjs.development.js +10 -2
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +10 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIToggle.tsx +8 -2
@@ -1234,6 +1234,14 @@ function UIToggle(props) {
|
|
1234
1234
|
style.color = '#ffffff';
|
1235
1235
|
}
|
1236
1236
|
}
|
1237
|
+
var backgroundColor = item.backgroundColor;
|
1238
|
+
var color = item.color;
|
1239
|
+
if (item.backgroundColor) style = _extends({}, style, {
|
1240
|
+
backgroundColor: backgroundColor
|
1241
|
+
});
|
1242
|
+
if (item.color) style = _extends({}, style, {
|
1243
|
+
color: color
|
1244
|
+
});
|
1237
1245
|
style.width = width;
|
1238
1246
|
return style;
|
1239
1247
|
};
|
@@ -1272,8 +1280,8 @@ var styles$7 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
1272
1280
|
borderRadius: 2
|
1273
1281
|
},
|
1274
1282
|
text: {
|
1275
|
-
fontSize:
|
1276
|
-
fontWeight: '
|
1283
|
+
fontSize: 12,
|
1284
|
+
fontWeight: '400'
|
1277
1285
|
}
|
1278
1286
|
});
|
1279
1287
|
|