@types/react-leaflet
Advanced tools
Comparing version 2.2.1 to 2.4.0
@@ -1,4 +0,7 @@ | ||
// Type definitions for react-leaflet 2.2 | ||
// Type definitions for react-leaflet 2.4 | ||
// Project: https://github.com/PaulLeCam/react-leaflet | ||
// Definitions by: Dave Leaver <https://github.com/danzel>, David Schneider <https://github.com/davschne>, Yui T. <https://github.com/yuit> | ||
// Definitions by: Dave Leaver <https://github.com/danzel> | ||
// David Schneider <https://github.com/davschne> | ||
// Yui T. <https://github.com/yuit> | ||
// Jeroen Claassens <https://github.com/favna> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -140,2 +143,4 @@ // TypeScript Version: 2.8 | ||
animate?: boolean; | ||
duration?: number; | ||
noMoveStart?: boolean; | ||
bounds?: Leaflet.LatLngBoundsExpression; | ||
@@ -468,1 +473,2 @@ boundsOptions?: Leaflet.FitBoundsOptions; | ||
export function withLeaflet<T extends ContextProps>(WrappedComponent: React.ComponentType<T>): React.ComponentType<Omit<T, 'leaflet'>>; | ||
export function useLeaflet(): LeafletContext; |
{ | ||
"name": "@types/react-leaflet", | ||
"version": "2.2.1", | ||
"version": "2.4.0", | ||
"description": "TypeScript definitions for react-leaflet", | ||
@@ -21,2 +21,7 @@ "license": "MIT", | ||
"githubUsername": "yuit" | ||
}, | ||
{ | ||
"name": "Jeroen Claassens", | ||
"url": "https://github.com/favna", | ||
"githubUsername": "favna" | ||
} | ||
@@ -36,4 +41,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "8e7ac91362c301483070aa69398bd666640774f1332e23ee19e27e3a43e4658b", | ||
"typesPublisherContentHash": "65d16cb39d59d65e0ac06ab22010213ac1e62636112ff232169ad74c0f80a7e9", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for react-leaflet ( https://github.com/PaulLeCam/react-leaflet ). | ||
This package contains type definitions for react-leaflet (https://github.com/PaulLeCam/react-leaflet). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Mon, 11 Mar 2019 17:57:40 GMT | ||
* Last updated: Tue, 13 Aug 2019 00:40:33 GMT | ||
* Dependencies: @types/leaflet, @types/react | ||
@@ -18,2 +18,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Dave Leaver <https://github.com/danzel>, David Schneider <https://github.com/davschne>, Yui T. <https://github.com/yuit>. | ||
These definitions were written by Dave Leaver <https://github.com/danzel>, David Schneider <https://github.com/davschne>, Yui T. <https://github.com/yuit>, and Jeroen Claassens <https://github.com/favna>. |
22733
414