UNPKG

@davedev42/react-naver-maps

Version:

React Navermaps API integration for modern development.

31 lines (28 loc) 1.25 kB
import * as react from 'react'; import { UIEventHandlers } from '../types/event.js'; declare const uiEvents: readonly ["mousedown", "mouseup", "click", "dblclick", "rightclick", "mouseover", "mouseout", "mousemove"]; type GroundOverlayOptions = { clickable?: boolean; opacity?: number; }; type Props = GroundOverlayOptions & { url: string; /** * bounds * @type naver.maps.Bounds | naver.maps.BoundsLiteral */ bounds: naver.maps.Bounds | naver.maps.BoundsLiteral; onOpacityChanged?: (value: number) => void; onClickableChanged?: (event: boolean) => void; } & UIEventHandlers<typeof uiEvents>; declare const GroundOverlay: react.ForwardRefExoticComponent<GroundOverlayOptions & { url: string; /** * bounds * @type naver.maps.Bounds | naver.maps.BoundsLiteral */ bounds: naver.maps.Bounds | naver.maps.BoundsLiteral; onOpacityChanged?: (value: number) => void; onClickableChanged?: (event: boolean) => void; } & Partial<Record<"onClick" | "onMousedown" | "onMouseup" | "onDblclick" | "onRightclick" | "onMouseover" | "onMouseout" | "onMousemove", (e: naver.maps.PointerEvent) => void>> & react.RefAttributes<naver.maps.GroundOverlay>>; export { GroundOverlay, type Props };