@rkmodules/rules 0.0.114 → 0.0.115

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.cjs.js CHANGED
@@ -6550,10 +6550,11 @@ function Flow(props) {
6550
6550
  React.createElement(FlowInner, __assign({}, props)))));
6551
6551
  }
6552
6552
 
6553
- function useDraggableNode(name) {
6553
+ function useDraggableNode(name, itemProps) {
6554
+ if (itemProps === void 0) { itemProps = {}; }
6554
6555
  var _a = __read(useDrag({
6555
6556
  type: "flow-node",
6556
- item: { name: name },
6557
+ item: __assign({ name: name }, itemProps),
6557
6558
  collect: function (monitor) { return ({
6558
6559
  isDragging: monitor.isDragging(),
6559
6560
  }); },