mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-24 18:46:40 +07:00
5 lines
226 B
TypeScript
5 lines
226 B
TypeScript
import React from 'react';
|
|
import { Map, TileLayer } from 'leaflet';
|
|
|
|
export const MapContext = React.createContext<Map | undefined>(undefined);
|
|
export const TileContext = React.createContext<TileLayer | undefined>(undefined)
|