From d2a9ec89cd01e77850dcf06ae627fd89e804f617 Mon Sep 17 00:00:00 2001 From: MachukIvan Date: Mon, 29 Jun 2020 21:14:57 +0300 Subject: [PATCH] Adding "translateExtent" prop type to ZoomableGroupsProps interface in react-simple-maps (#45676) * Adding "translateExtent" type to ZoomableGroups * Lint fixes Added semicolon --- types/react-simple-maps/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-simple-maps/index.d.ts b/types/react-simple-maps/index.d.ts index 6a6c127872..a005610f59 100644 --- a/types/react-simple-maps/index.d.ts +++ b/types/react-simple-maps/index.d.ts @@ -81,6 +81,7 @@ export interface ZoomableGroupProps extends React.SVGAttributes { onMoveEnd?: (event: any, position: Position) => void; onZoomStart?: (event: any, position: Position) => void; onZoomEnd?: (event: any, position: Position) => void; + translateExtent?: [[number, number], [number, number]]; } interface GeographiesChildrenArgument {