Adding "translateExtent" prop type to ZoomableGroupsProps interface in react-simple-maps (#45676)

* Adding "translateExtent" type to ZoomableGroups

* Lint fixes

Added semicolon
This commit is contained in:
MachukIvan 2020-06-29 21:14:57 +03:00 committed by GitHub
parent 39b08d2f5f
commit d2a9ec89cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,7 @@ export interface ZoomableGroupProps extends React.SVGAttributes<SVGGElement> {
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 {