1.0.1 • Published 3 years ago
konum v1.0.1
Konum

Konum (means location in Turkish) is a primary browser location provider for React.
Installation
yarn add konum
#or
npm i konumUsage
import { useKonum } from "konum";
const { data, isAllowed, error } = useKonum();Props
| 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 |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.