# datepicker-react-by-badbmo

> A customizable React datepicker

Latest version **1.2.1** (published 2022-03-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install datepicker-react-by-badbmo
pnpm add datepicker-react-by-badbmo
yarn add datepicker-react-by-badbmo
bun add datepicker-react-by-badbmo
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2022-03-05 |
| First published | 2022-02-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | badbmo |
| Maintainers | badbmo |
| Keywords | react, datepicker |

## Links

- npm: https://www.npmjs.com/package/datepicker-react-by-badbmo
- Repository: https://github.com/badbmo/DatePicker_React_BadBmo
- Homepage: https://github.com/badbmo/DatePicker_React_BadBmo#readme
- Issues: https://github.com/badbmo/DatePicker_React_BadBmo/issues
- npm.io page: https://npm.io/package/datepicker-react-by-badbmo

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.2.1 (latest) — 2022-03-05
- 1.2.0 — 2022-03-03
- 1.1.2 — 2022-02-27
- 1.1.1 — 2022-02-27
- 1.1.0 — 2022-02-27
- 1.0.1 — 2022-02-27
- 1.0.0 — 2022-02-27

## README

# A date picker component for your react project

A simple react datepicker to add to your react projects.

## Installation

### Install the component

- Use yarn or npm to install the component.
```bash
#yarn
yarn add datepicker-react-by-badbmo
#npm
npm i datepicker-react-by-badbmo
```
### Add it to your project

- Import the date picker in your React app:
```
import DatePicker from "datepicker-react-by-badbmo"
```
### How to use it ?

| Param |  Type  | Name | Use | Example |
|:-----:|:--------:|:------:|:------:|:------:|
| 1   | string | idInput | to set the id of input and for of label | "date-of-birth" |
| 2   |  string  |   nameOfLabel | to set the name displayed in label | "Date of Birth" |
| 3   | function | getSelectedDate | function to get the selected date value in a Date format | `const exampleOfFunction = (date) => {return console.log(date);};` |

### Need an example ?

Go to the github to see a live version of this component.

Happy coding ! :)

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