@classic-homes/maps-react 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -121,7 +121,7 @@ interface MapContextValue {
121
121
  /** Get the vertical offset for a control */
122
122
  getCustomControlOffset?: (id: string, position: string) => number;
123
123
  }
124
- declare const MapContext: React.Context<MapContextValue>;
124
+ declare const MapContext: React.Context<MapContextValue | null>;
125
125
  /**
126
126
  * Hook to access the MapLibre map instance from context
127
127
  */
package/dist/index.d.ts CHANGED
@@ -121,7 +121,7 @@ interface MapContextValue {
121
121
  /** Get the vertical offset for a control */
122
122
  getCustomControlOffset?: (id: string, position: string) => number;
123
123
  }
124
- declare const MapContext: React.Context<MapContextValue>;
124
+ declare const MapContext: React.Context<MapContextValue | null>;
125
125
  /**
126
126
  * Hook to access the MapLibre map instance from context
127
127
  */