react-crud-mobile 1.0.694 → 1.0.696

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.
@@ -369,8 +369,10 @@ function UIIcon(_ref) {
369
369
  function UIButton(props) {
370
370
  var scope = props.scope;
371
371
  var element = scope.original;
372
+ var color = element.color;
372
373
  var label = element.label;
373
374
  var icon = element.icon;
375
+ if (!color) color = 'primaryLight';
374
376
  var styles = {
375
377
  buttonLabel: {
376
378
  color: '#ffffff',
@@ -393,8 +395,8 @@ function UIButton(props) {
393
395
  button: {
394
396
  height: 50,
395
397
  paddingHorizontal: 16,
396
- backgroundColor: 'primary',
397
- borderRadius: 8,
398
+ backgroundColor: color,
399
+ borderRadius: 24,
398
400
  justifyContent: 'center',
399
401
  alignItems: 'center',
400
402
  flexDirection: 'row'