ywana-core8 0.0.526 → 0.0.527

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
@@ -4978,6 +4978,7 @@
4978
4978
  }), canFilter ? /*#__PURE__*/React__default["default"].createElement(CollectionFilters, {
4979
4979
  schema: schema
4980
4980
  }) : null, levels ? /*#__PURE__*/React__default["default"].createElement(CollectionTree, {
4981
+ icon: icon,
4981
4982
  levels: levels,
4982
4983
  onSelect: onSelect,
4983
4984
  sorter: sorter
@@ -5120,7 +5121,9 @@
5120
5121
  }
5121
5122
  };
5122
5123
 
5123
- var levels = props.levels,
5124
+ var _props$icon = props.icon,
5125
+ icon = _props$icon === void 0 ? "description" : _props$icon,
5126
+ levels = props.levels,
5124
5127
  onSelect = props.onSelect,
5125
5128
  sorter = props.sorter;
5126
5129
 
@@ -5176,6 +5179,7 @@
5176
5179
  open: true
5177
5180
  }, node.nodes ? renderNodes(node.nodes) : node.items.map(function (item) {
5178
5181
  return /*#__PURE__*/React__default["default"].createElement(TreeItem, {
5182
+ icon: icon,
5179
5183
  key: item.id,
5180
5184
  id: item.id,
5181
5185
  label: item.name,