UNPKG

react-naver-maps

Version:

React Navermaps API integration for modern development.

5 lines (3 loc) 220 B
import { createContext, useContext } from 'react'; export const EventTargetContext = createContext<any | undefined>(undefined); export const useEventTarget: () => any | undefined = () => useContext(EventTargetContext);