ywana-core8 0.0.561 → 0.0.562

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
@@ -5689,7 +5689,8 @@
5689
5689
  autosave = _props$autosave2 === void 0 ? false : _props$autosave2,
5690
5690
  _props$delay2 = props.delay,
5691
5691
  delay = _props$delay2 === void 0 ? 1000 : _props$delay2,
5692
- canDelete = props.canDelete;
5692
+ canDelete = props.canDelete,
5693
+ onReload = props.onReload;
5693
5694
  var timer = React.useRef(null);
5694
5695
 
5695
5696
  var _useState4 = React.useState(selected),
@@ -5730,21 +5731,21 @@
5730
5731
  return /*#__PURE__*/React__default["default"].createElement(TabbedContentEditor, _extends({}, props, {
5731
5732
  content: content,
5732
5733
  onChange: change,
5733
- onReload: reload
5734
+ onReload: onReload
5734
5735
  }));
5735
5736
 
5736
5737
  case 'TREEDED':
5737
5738
  return /*#__PURE__*/React__default["default"].createElement(TreededContentEditor, _extends({}, props, {
5738
5739
  content: content,
5739
5740
  onChange: change,
5740
- onReload: reload
5741
+ onReload: onReload
5741
5742
  }));
5742
5743
 
5743
5744
  default:
5744
5745
  return /*#__PURE__*/React__default["default"].createElement(ContentEditor, _extends({}, props, {
5745
5746
  content: content,
5746
5747
  onChange: change,
5747
- onReload: reload
5748
+ onReload: onReload
5748
5749
  }));
5749
5750
  }
5750
5751
  }