Skip to content

Commit

Permalink
fix: exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jensen committed Nov 24, 2023
1 parent 73bac52 commit 569ff25
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/geolocation/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import ReverseGeolocationProvider from "./ReverseGeolocationProvider";
import {useReverseGeolocation, useReverseGeolocationPlace} from "./ReverseGeolocationContext";

export {
ReverseGeolocationProvider,
useReverseGeolocation,
useReverseGeolocationPlace
};
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
import {TrackingProvider, isModeSCode, useTrackingPosition, useTrackingPositions} from "./tracking";
import {ReverseGeolocationProvider, useReverseGeolocation, useReverseGeolocationPlace} from "./geolocation";

import type {ModeSCode, Positions, TrackingProviderProps} from "./tracking";

/* Package exports. */
export {
ModeSCode,
Positions,
ReverseGeolocationProvider,
TrackingProvider,
TrackingProviderProps,
isModeSCode,
useReverseGeolocation,
useReverseGeolocationPlace,
useTrackingPosition,
useTrackingPositions
};

0 comments on commit 569ff25

Please sign in to comment.