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
696425
0.02%13723
0.03%