@goongmaps/goong-map-react
Version:
A fork of react-map-gl. React components for Goong JS
17 lines (14 loc) • 453 B
TypeScript
import {ReactElement} from 'react';
import {MapControlProps} from './use-map-control';
type NavigationControlProps = MapControlProps & Partial<{
className: string,
style: Object,
onViewStateChange: Function,
onViewportChange: Function,
showCompass: boolean,
showZoom: boolean,
zoomInLabel: string,
zoomOutLabel: string,
compassLabel: string
}>;
export default function NavigationControl(props: NavigationControlProps): ReactElement;