package.dist.es5.components.popup.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-map-gl Show documentation
Show all versions of react-map-gl Show documentation
React components for Mapbox GL JS-compatible libraries
The newest version!
import * as React from 'react';
import type { PopupEvent, PopupInstance } from '../types';
export declare type PopupProps = OptionsT & {
/** Longitude of the anchor location */
longitude: number;
/** Latitude of the anchor location */
latitude: number;
anchor?: string;
offset?: any;
className?: string;
maxWidth?: string;
/** CSS style override, applied to the control's container */
style?: React.CSSProperties;
onOpen?: (e: PopupEvent) => void;
onClose?: (e: PopupEvent) => void;
children?: React.ReactNode;
};
declare const _default: React.MemoExoticComponent) => void;
onClose?: (e: PopupEvent) => void;
children?: React.ReactNode;
} & React.RefAttributes>>;
export default _default;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy