@types/react-dnd
Advanced tools
Comparing version 2.0.28 to 2.0.29
@@ -48,7 +48,7 @@ // Type definitions for React DnD v2.0.2 | ||
options?: DndOptions<P> | ||
): (componentClass: React.ComponentClass<P>) => DndComponentClass<P>; | ||
): (componentClass: React.ComponentClass<P> | React.StatelessComponent<P>) => DndComponentClass<P>; | ||
export function DragDropContext<P>( | ||
backend: Backend | ||
): (componentClass: React.ComponentClass<P>) => ContextComponentClass<P>; | ||
): <P>(componentClass: React.ComponentClass<P> | React.StatelessComponent<P>) => ContextComponentClass<P>; | ||
@@ -58,3 +58,3 @@ export function DragLayer<P>( | ||
options?: DndOptions<P> | ||
): (componentClass: React.ComponentClass<P>) => DndComponentClass<P>; | ||
): (componentClass: React.ComponentClass<P> | React.StatelessComponent<P>) => DndComponentClass<P>; | ||
@@ -61,0 +61,0 @@ type DragSourceCollector = (connect: DragSourceConnector, monitor: DragSourceMonitor) => Object; |
{ | ||
"name": "@types/react-dnd", | ||
"version": "2.0.28", | ||
"version": "2.0.29", | ||
"description": "TypeScript definitions for React DnD v2.0.2", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 18 Aug 2016 13:51:16 GMT | ||
* Last updated: Mon, 22 Aug 2016 17:52:12 GMT | ||
* File structure: OldUMD | ||
@@ -14,0 +14,0 @@ * Library Dependencies: react |
@@ -26,3 +26,3 @@ { | ||
"hasPackageJson": false, | ||
"contentHash": "35fc3d7bf0c892e5ec26cbfcd7d144c6076a89d376d0d321f32d55e2555688c4" | ||
"contentHash": "36fc59eb6fb1b555089515ed9b20bce2880306a3f451e4eefb88cf276a2c90c6" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8134