beautiful-react-hooks
Version:
A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development
11 lines (10 loc) • 436 B
TypeScript
import { BRHGeolocationPosition } from './types';
export declare const geoStandardOptions: PositionOptions;
/**
* Checks if two position are equals
*/
export declare const isSamePosition: (current: BRHGeolocationPosition, next: BRHGeolocationPosition) => boolean;
/**
* Given a position object returns only its properties
*/
export declare const makePositionObj: (position: BRHGeolocationPosition) => BRHGeolocationPosition | null;