react-bkoi-gl
Version:
React components for Barikoi GL JS
16 lines (15 loc) • 568 B
TypeScript
import * as React from "react";
import type { PopupOptions } from "../types/lib";
import type { PopupEvent } from "../types/events";
export type PopupProps = PopupOptions & {
/** Longitude of the anchor location */
longitude: number;
/** Latitude of the anchor location */
latitude: number;
/** CSS style override, applied to the control's container */
style?: React.CSSProperties;
onOpen?: (e: PopupEvent) => void;
onClose?: (e: PopupEvent) => void;
children?: React.ReactNode;
};
export declare const Popup: React.FC<PopupProps>;