ywana-core8 0.0.665 → 0.0.666

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
@@ -7569,7 +7569,8 @@
7569
7569
  editorFilter = _props$editorFilter === void 0 ? false : _props$editorFilter,
7570
7570
  tabbedBy = props.tabbedBy,
7571
7571
  tableClassName = props.tableClassName,
7572
- children = props.children;
7572
+ children = props.children,
7573
+ onSelect = props.onSelect;
7573
7574
 
7574
7575
  var _useContext = React.useContext(PageContext),
7575
7576
  pageContext = _useContext[0],
@@ -7602,6 +7603,7 @@
7602
7603
  }, []);
7603
7604
  React.useEffect(function () {
7604
7605
  setForm(selected);
7606
+ if (onSelect) onSelect(selected);
7605
7607
  }, [selected]);
7606
7608
  React.useEffect(function () {
7607
7609
  if (autosave) {