UNPKG

react-naver-maps

Version:

React Navermaps API integration for modern development.

31 lines (28 loc) 1.29 kB
import * as react from 'react'; import { UIEventHandlers } from '../types/event.js'; declare const uiEvents: readonly ["mousedown", "mouseup", "click", "dblclick", "rightclick", "mouseover", "mouseout", "mousemove"]; declare type GroundOverlayOptions = { clickable?: boolean; opacity?: number; }; declare 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) | undefined; onClickableChanged?: ((event: boolean) => void) | undefined; } & Partial<Record<"onClick" | "onMousedown" | "onMouseup" | "onDblclick" | "onRightclick" | "onMouseover" | "onMouseout" | "onMousemove", (e: naver.maps.PointerEvent) => void>> & react.RefAttributes<naver.maps.GroundOverlay>>; export { GroundOverlay, Props };