React hook to return geo location details
npm i @hooks/geo-location
useGeoLocation(options?: PositionOptions): [Position, PositionError]
Passes PositionOptions through to the geolocation API - https://developer.mozilla.org/en-US/docs/Web/API/PositionOptions
Returns an array containing the position and any position error.