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.
@@ -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
  };