import React from "react";
import ReactDOM from "react-dom";
import useLocation from "./useLocation";
import "./styles.css";
function App() {
const [latitude, longitude] = useLocation();
return (
<div className="App">
<h1>Latitude: {latitude}</h1>
<h1>Longitude: {longitude} </h1>
</div>
);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
emrekara37/react-browser-location
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
React Hooks for browser locations
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published