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