mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
make onViewportChange optional
This commit is contained in:
2
types/react-map-gl/index.d.ts
vendored
2
types/react-map-gl/index.d.ts
vendored
@@ -301,7 +301,7 @@ export class Popup extends BaseControl<PopupProps> {}
|
||||
export interface NavigationControlProps extends BaseControlProps {
|
||||
className?: string;
|
||||
onViewStateChange?: (info: ViewStateChangeInfo) => void;
|
||||
onViewportChange: (viewport: ViewState) => void;
|
||||
onViewportChange?: (viewport: ViewState) => void;
|
||||
showCompass?: boolean;
|
||||
showZoom?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user