@goongmaps/goong-map-react
Version:
A fork of react-map-gl. React components for Goong JS
30 lines (28 loc) • 677 B
Flow
/**
* Flowtype definitions for navigation-control
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import { Element } from "react";
import { MapControlProps } from "./use-map-control";
declare type NavigationControlProps = {
...MapControlProps,
...$Rest<
{
className: string,
style: Object,
onViewStateChange: Function,
onViewportChange: Function,
showCompass: boolean,
showZoom: boolean,
zoomInLabel: string,
zoomOutLabel: string,
compassLabel: string,
...
},
{ ... }
>,
};
declare export default function NavigationControl(
props: NavigationControlProps
): Element;