@goongmaps/goong-map-react
Version:
A fork of react-map-gl. React components for Goong JS
30 lines (28 loc) • 730 B
Flow
/**
* Flowtype definitions for popup
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import { Element } from "react";
import { MapControlProps } from "./use-map-control";
import type { PositionType } from "../utils/dynamic-position";
export type PopupProps = {
...MapControlProps,
...{
className?: string,
longitude: number,
latitude: number,
altitude?: number,
offsetLeft?: number,
offsetTop?: number,
tipSize?: number,
closeButton?: boolean,
closeOnClick?: boolean,
anchor?: PositionType,
dynamicPosition?: boolean,
sortByDepth?: boolean,
onClose?: Function,
...
},
};
declare export default function Popup(props: PopupProps): Element;