ywana-core8 0.0.463 → 0.0.466

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.
package/dist/index.umd.js CHANGED
@@ -5697,7 +5697,8 @@
5697
5697
  };
5698
5698
  var buttons = actions.map(function (_ref) {
5699
5699
  var label = _ref.label,
5700
- _action = _ref.action;
5700
+ _action = _ref.action,
5701
+ validate = _ref.validate;
5701
5702
  return /*#__PURE__*/React__default["default"].createElement(Button, {
5702
5703
  label: label,
5703
5704
  raised: true,
@@ -5712,7 +5713,7 @@
5712
5713
  }
5713
5714
  });
5714
5715
  },
5715
- disabled: _action.validate ? !_action.validate(checked) : false
5716
+ disabled: !validate(checked)
5716
5717
  });
5717
5718
  });
5718
5719
  return /*#__PURE__*/React__default["default"].createElement("div", {