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
@@ -1225,6 +1225,14 @@ function UIToggle(props) {
|
|
1225
1225
|
style.color = '#ffffff';
|
1226
1226
|
}
|
1227
1227
|
}
|
1228
|
+
var backgroundColor = item.backgroundColor;
|
1229
|
+
var color = item.color;
|
1230
|
+
if (item.backgroundColor) style = _extends({}, style, {
|
1231
|
+
backgroundColor: backgroundColor
|
1232
|
+
});
|
1233
|
+
if (item.color) style = _extends({}, style, {
|
1234
|
+
color: color
|
1235
|
+
});
|
1228
1236
|
style.width = width;
|
1229
1237
|
return style;
|
1230
1238
|
};
|
@@ -1263,8 +1271,8 @@ var styles$7 = /*#__PURE__*/StyleSheet.create({
|
|
1263
1271
|
borderRadius: 2
|
1264
1272
|
},
|
1265
1273
|
text: {
|
1266
|
-
fontSize:
|
1267
|
-
fontWeight: '
|
1274
|
+
fontSize: 12,
|
1275
|
+
fontWeight: '400'
|
1268
1276
|
}
|
1269
1277
|
});
|
1270
1278
|
|