# react-calendar-events-full-year

> Simple events calendar with both month and full year view

Latest version **1.0.3** (published 2023-08-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-calendar-events-full-year
pnpm add react-calendar-events-full-year
yarn add react-calendar-events-full-year
bun add react-calendar-events-full-year
```

## 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.0.3 |
| Published | 2023-08-23 |
| First published | 2022-09-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 61.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sojin antony |
| Maintainers | sojin.antony01 |
| Keywords | react calendar, react calendar events, react full year calendar, full year events calendar, month view year view calendar, calendar events |

## Links

- npm: https://www.npmjs.com/package/react-calendar-events-full-year
- Repository: https://github.com/sojinantony01/react-calendar-events-full-year
- Homepage: https://sojinantony01.github.io/react-calendar-events-full-year
- Issues: https://github.com/sojinantony01/react-calendar-events-full-year/issues
- npm.io page: https://npm.io/package/react-calendar-events-full-year

## Dependencies (1)

- [date-fns](https://npm.io/package/date-fns.md) ^2.29.3

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2023-08-23
- 1.0.2 — 2022-11-22
- 1.0.1 — 2022-09-27

## README

# react-calendar-events-full-year

A simple events calendar with year and month view

## Getting Started

```
npm install react-calendar-events-full-year --save

```


## [Live demo](https://sojinantony01.github.io/react-calendar-events-full-year/)


## Sample screenshots

![alt text](https://raw.githubusercontent.com/sojinantony01/react-calendar-events-full-year/main/public/images/month.png)

![alt text](https://raw.githubusercontent.com/sojinantony01/react-calendar-events-full-year/main/public/images/year.png)

![alt text](https://raw.githubusercontent.com/sojinantony01/react-calendar-events-full-year/main/public/images/year-event.png)



```
import Calendar from 'react-calendar-events-full-year'

const tempEvents = [
  {
    "id": "1",
    "title": "test title - 4",
    "from": "2022-06-10T11:33:35.833Z",
    "to":  "2022-07-29T14:33:35.833Z"
  }
]

function App() {
  const [calendarEvents, setEvents] = useState<MyEvent[]>(tempEvents.map(d => ({...d, from: new Date(d.from), to: new Date(d.to)})));
  
  return (
    <div className="">
      <Calendar calendarEvents={calendarEvents}/>
    </div>
  );
}

export default App;

```
## props

| Prop | Description | Default | Mandatory
| --- | --- | -- | -- |
| defaultMonth | Default selected month  | This month  |  No |
| defaultYear | Default selected year  | This year  |  No |
| calendarEvents | Event JSON | [] | No
| monthView | Month view of Year View | false | No


## TranslateFn

  Development in progress



[Sojin Antony](https://github.com/sojinantony01)

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-1.svg)](https://www.buymeacoffee.com/sojinantony)

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