react-crud-mobile 1.3.323 → 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.
@@ -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
  };