Konum (means location in Turkish) is a primary browser location provider for React.
yarn add konum
#or
npm i konumimport { useKonum } from "konum";
const { data, isAllowed, error } = useKonum();| Props | Type | Description |
|---|---|---|
| data | object | It returns two attributes longitude and latitude. |
| isAllowed | boolean | It changes based on user's allow. |
| error | string | It returns error message |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
