react-dnd
Advanced tools
Comparing version
@@ -1,7 +0,9 @@ | ||
import { FC } from 'react'; | ||
import { FC, ReactNode } from 'react'; | ||
import { BackendFactory, DragDropManager } from 'dnd-core'; | ||
export declare type DndProviderProps<BackendContext, BackendOptions> = { | ||
children?: ReactNode; | ||
manager: DragDropManager; | ||
} | { | ||
backend: BackendFactory; | ||
children?: ReactNode; | ||
context?: BackendContext; | ||
@@ -8,0 +10,0 @@ options?: BackendOptions; |
@@ -1,7 +0,9 @@ | ||
import { FC } from 'react'; | ||
import { FC, ReactNode } from 'react'; | ||
import { BackendFactory, DragDropManager } from 'dnd-core'; | ||
export declare type DndProviderProps<BackendContext, BackendOptions> = { | ||
children?: ReactNode; | ||
manager: DragDropManager; | ||
} | { | ||
backend: BackendFactory; | ||
children?: ReactNode; | ||
context?: BackendContext; | ||
@@ -8,0 +10,0 @@ options?: BackendOptions; |
{ | ||
"name": "react-dnd", | ||
"version": "14.0.4", | ||
"version": "14.0.5", | ||
"description": "Drag and Drop for React", | ||
@@ -32,3 +32,3 @@ "main": "dist/cjs/index.js", | ||
"@react-dnd/build": "12.0.0", | ||
"@testing-library/react": "^12.1.0", | ||
"@testing-library/react": "^12.1.2", | ||
"@types/hoist-non-react-statics": "^3.3.1", | ||
@@ -35,0 +35,0 @@ "@types/node": "^14.17.19", |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
696425
0.02%13723
0.03%