grungnet/src/contexts/MapInteractionContext.js

10 lines
233 B
JavaScript
Raw Normal View History

import React from "react";
const MapInteractionContext = React.createContext({
translateRef: null,
scaleRef: null,
});
export const MapInteractionProvider = MapInteractionContext.Provider;
export default MapInteractionContext;