com.hydroper.reactdraggable
Advanced tools
+5
-1
| { | ||
| "name": "com.hydroper.reactdraggable", | ||
| "version": "1.1.0", | ||
| "version": "1.1.1", | ||
| "type": "module", | ||
@@ -13,2 +13,6 @@ "scripts": {}, | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/realhydroper/reactdraggable.git" | ||
| }, | ||
| "peerDependencies": { | ||
@@ -15,0 +19,0 @@ "react": ">=18.3.1" |
+1
-1
@@ -15,3 +15,3 @@ # Draggable | ||
| return ( | ||
| <Draggable element={div_ref}> | ||
| <Draggable nodeRef={div_ref}> | ||
| <div ref={div_ref}> | ||
@@ -18,0 +18,0 @@ Drag me |
+2
-2
@@ -34,3 +34,3 @@ import React, { useEffect } from "react"; | ||
| limit, | ||
| element: el_ref, | ||
| nodeRef: el_ref, | ||
| children, | ||
@@ -108,3 +108,3 @@ disabled, | ||
| export type DraggableOptions = { | ||
| element: React.MutableRefObject<HTMLElement>, | ||
| nodeRef: React.MutableRefObject<HTMLElement>, | ||
| limit?: HTMLElement, | ||
@@ -111,0 +111,0 @@ children?: React.ReactNode, |
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
18008
0.59%0
-100%