react-crud-mobile 1.0.927 → 1.0.929

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.
@@ -370,6 +370,12 @@ function UIIcon(_ref) {
370
370
  });
371
371
  }
372
372
 
373
+ var BUTTONS_SIZE = {
374
+ small: {
375
+ minWidth: 30,
376
+ height: 30
377
+ }
378
+ };
373
379
  function UIButton(props) {
374
380
  var scope = props.scope;
375
381
  var element = scope.original;
@@ -446,6 +452,9 @@ function UIButton(props) {
446
452
  def.borderWidth = 1;
447
453
  def.borderColor = reactCrudUtils.Utils.nvl(color, 'text');
448
454
  }
455
+ if (size) {
456
+ def = _extends({}, def, BUTTONS_SIZE[size]);
457
+ }
449
458
  var css = style('button', def);
450
459
  if (!css.width) {
451
460
  var h = css.height;