# react-inpost-geowidget

> A simple React.js component for Inpost Geowidget

Latest version **1.1.1** (published 2023-02-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-inpost-geowidget
pnpm add react-inpost-geowidget
yarn add react-inpost-geowidget
bun add react-inpost-geowidget
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2023-02-19 |
| First published | 2022-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | AshmaDev |
| Maintainers | ashmadev |
| Keywords | inpost geowidget, react inpost component, react inpost, react geowidget |

## Links

- npm: https://www.npmjs.com/package/react-inpost-geowidget
- Repository: https://github.com/AshmaDev/react-inpost-geowidget
- Homepage: https://github.com/AshmaDev/react-inpost-geowidget#readme
- Issues: https://github.com/AshmaDev/react-inpost-geowidget/issues
- npm.io page: https://npm.io/package/react-inpost-geowidget

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2023-02-19
- 1.0.1 — 2022-05-18
- 1.0.0 — 2022-05-18

## README

# react-inpost-geowidget
A simple React.js component for Inpost Geowidget

[![Tests](https://github.com/AshmaDev/react-inpost-geowidget/actions/workflows/node.js.yml/badge.svg)](https://github.com/AshmaDev/react-inpost-geowidget/actions/workflows/node.js.yml)

## Getting Started

This package includes a simple React.js Component for Inpost Geowidget (v5 Beta). See [docs](https://dokumentacja-inpost.atlassian.net/wiki/spaces/PL/pages/50069505/Geowidget+v5+Beta) for more details.

### Installation

```sh
npm i react-inpost-geowidget
# or
yarn add react-inpost-geowidget
```

### Usage

First, obtain the token to the API:
- [Production](https://manager.paczkomaty.pl)
- [Sanbox](https://sandbox-manager.paczkomaty.pl)

```ts
import { InpostGeowidget } from "react-inpost-geowidget";

function App() {
  const onPointCallback = (e) => {
    console.log(e);
  }

  return (
    <div className="App">
      <InpostGeowidget
        token={YOUR_API_TOKEN}
        onPoint={onPointCallback}
      />
    </div>
  );
}

export default App;
```

Optional component props:
- language (default 'pl')
- config (default 'parcelCollect')

Read more about config parameter in the [docs](https://dokumentacja-inpost.atlassian.net/wiki/spaces/PL/pages/50069505/Geowidget+v5+Beta).

## License

This project is licensed under the MIT License.

---
_Source: https://npm.io/package/react-inpost-geowidget · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
