# ka-calendar

> ka-calendar is a simple calendar component using mui 5.^, developed and maintained by Pradeep(kpradeeprao@gmail.com).

Latest version **1.0.3** (published 2022-12-03) · 0 weekly downloads

## Install

```sh
npm install ka-calendar
pnpm add ka-calendar
yarn add ka-calendar
bun add ka-calendar
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-12-03 |
| First published | 2022-12-02 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 22.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | kpradeeprao |

## Links

- npm: https://www.npmjs.com/package/ka-calendar
- npm.io page: https://npm.io/package/ka-calendar

## Dependencies (4)

- [date-fns](https://npm.io/package/date-fns.md) ^2.28.0
- [@mui/material](https://npm.io/package/@mui/material.md) ^5.10.0
- [@emotion/react](https://npm.io/package/@emotion/react.md) ^11.8.1
- [@emotion/styled](https://npm.io/package/@emotion/styled.md) ^11.8.1

## Recent versions

- 1.0.3 (latest) — 2022-12-03
- 1.0.2 — 2022-12-02
- 1.0.1 — 2022-12-02
- 1.0.0 — 2022-12-02

## README

# React Calendar Month Component

ka-calendar is a simple calendar component using mui 5.^, developed and maintained by Pradeep(kpradeeprao@gmail.com).

## Installation

Use the package manager to install ka-calendar.

```bash
yarn add ka-calendar
```

```bash
npm i ka-calendar
```

## Usage

```tsx
export function() {
  const { startDate, endDate, timesheets } = useUser();
  const [theDate, setTheDate] = useState(new Date());

  return <CalendarMonth
        value={theDate}
        setValue={setTheDate}
        minValue={startDate}
        maxValue={endDate}
        badgeValues={timesheets.map((x) => ({
          dt: x.date,
          value: x.hours,
        }))}
      ></CalendarMonth>
}
```

## Demo

[Demo](https://codesandbox.io/s/ka-calendar-ek82u6)

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)

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