react-amap-v2
Version:
高德地图 v2.0 react 组件
12 lines (11 loc) • 365 B
TypeScript
/// <reference types="react" />
import { MapContext } from '../context';
interface UseMapState {
map?: AMap.Map;
context?: MapContext;
}
interface InitialValue {
map?: AMap.Map;
}
export declare const Provider: import("react").ComponentType<import("unstated-next").ContainerProviderProps<UseMapState>>, useMap: () => InitialValue;
export {};