react-draggable
Advanced tools
Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "react-draggable", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"homepage": "https://github.com/mzabriskie/react-draggable", | ||
@@ -5,0 +5,0 @@ "authors": [ |
# Changelog | ||
### 3.1.1 (Dec 21, 2018) | ||
- Bugfix: Minor type change on DraggableEventHandler TypeScript export ([#374](https://github.com/mzabriskie/react-draggable/pull/374)) | ||
### 3.1.0 (Dec 21, 2018) | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "react-draggable", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "React draggable component", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-draggable.js", |
@@ -21,3 +21,9 @@ declare module 'react-draggable' { | ||
export type DraggableEventHandler = (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>, data: DraggableData) => void | false; | ||
export type DraggableEventHandler = ( | ||
e: React.MouseEvent<HTMLElement | SVGElement> | ||
| React.TouchEvent<HTMLElement | SVGElement> | ||
| MouseEvent | ||
| TouchEvent, | ||
data: DraggableData | ||
) => void | false; | ||
@@ -24,0 +30,0 @@ export interface DraggableData { |
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
357678
25
3297