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