# react-calendar-component-nekochan

> Creation of react calendar component

Latest version **0.1.1** (published 2023-07-25) · 0 weekly downloads

## Install

```sh
npm install react-calendar-component-nekochan
pnpm add react-calendar-component-nekochan
yarn add react-calendar-component-nekochan
bun add react-calendar-component-nekochan
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2023-07-25 |
| First published | 2023-07-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 10.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nekochan977 |
| Maintainers | nekochan977 |
| Keywords | react, components, calendar |

## Links

- npm: https://www.npmjs.com/package/react-calendar-component-nekochan
- Repository: https://github.com/Nekochan977/p14-OC-React-Calendar-package
- Homepage: https://github.com/Nekochan977/p14-OC-React-Calendar-package#readme
- Issues: https://github.com/Nekochan977/p14-OC-React-Calendar-package/issues
- npm.io page: https://npm.io/package/react-calendar-component-nekochan

## Dependencies (10)

- [react](https://npm.io/package/react.md) ^18.2.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.30.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.8.1
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.12.1
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.4.0
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.16.5
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.0

## 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

- 0.1.1 (latest) — 2023-07-25
- 0.1.0 — 2023-07-12

## README

# Project presentation
***

This project is a React Calendar date picker.

Here is the view of the input before the calendar is open:

![Calendar input](assets/view-calendar-input.png)

Here is the view of the calendar after clicking on the input.

![Calendar input](assets/view-calendar-open.png)

# Getting started
***
### Install dependencies
You can install this calendar with npm:

```
npm install react-calendar-component-nekochan
```
## Add the component
***
#### Import the calendar
```
import {Calendar} from "react-calendar-component-nekochan"
```

#### Insert the calendar

```
<Calendar ID={'birthDate'} handleMyClick={handleClickBirthdate} text={"Date of Birth"} className={"color"}/>
```

ID : id for the input

text : label of the input

handleMyClick : for functions to retrieve the date

example:
```
const handleClickBirthdate = (cnt) => {
        setBirthDate(cnt)
    }
```
className :  to add some style to the calendar

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