react-crud-mobile 1.0.690 → 1.0.694

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,10 +369,8 @@ 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;
373
372
  var label = element.label;
374
373
  var icon = element.icon;
375
- if (!color) color = 'primaryLight';
376
374
  var styles = {
377
375
  buttonLabel: {
378
376
  color: '#ffffff',
@@ -393,16 +391,13 @@ function UIButton(props) {
393
391
  fontSize: 18
394
392
  },
395
393
  button: {
396
- alignItems: 'center',
397
- margin: 'auto',
398
- width: '100%',
399
- textAlign: 'center',
400
- verticalAling: 'middle',
401
- borderRadius: 24,
402
- backgroundColor: color,
403
- color: '#ffffff',
394
+ height: 50,
395
+ paddingHorizontal: 16,
396
+ backgroundColor: 'primary',
397
+ borderRadius: 8,
404
398
  justifyContent: 'center',
405
- flex: 1
399
+ alignItems: 'center',
400
+ flexDirection: 'row'
406
401
  }
407
402
  };
408
403
  var onClick = function onClick(e) {