# react-native-jalaali-calendar

> A react native jalaali calendar library

Latest version **0.1.1** (published 2018-07-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-jalaali-calendar
pnpm add react-native-jalaali-calendar
yarn add react-native-jalaali-calendar
bun add react-native-jalaali-calendar
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2018-07-21 |
| First published | 2018-07-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 24.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | erfan_yousefifar |
| Maintainers | eyousefifar |
| Keywords | react-native, jalaali-calendar |

## Links

- npm: https://www.npmjs.com/package/react-native-jalaali-calendar
- Repository: https://github.com/eyousefifar/react-native-jalaali-calendar
- Homepage: https://github.com/eyousefifar/react-native-jalaali-calendar#readme
- Issues: https://github.com/eyousefifar/react-native-jalaali-calendar/issues
- npm.io page: https://npm.io/package/react-native-jalaali-calendar

## Dependencies (1)

- [moment-jalaali](https://npm.io/package/moment-jalaali.md) ^0.7.x

## Recent versions

- 0.1.1 (latest) — 2018-07-21
- 0.1.0 — 2018-07-11

## README

### installation:

`npm i react-native-jalaali-calendar --save`

### Usage:

 

```jsx

import { Jcalendar, JPicker } from "./react-native-jalaali-calendar";
export default class App extends Component {
  render() {
    return (
      <View style={{flex : 1}}>
        <JPicker
          selectedDate={{
            year: 1397,
            month: 6,
            day: 13
          }}
          minYear={1300}
          maxYear={1450}
          getDate={date => {
            console.log(date);
          }}
          dismiss={() => {
            /* do something here */
          }}
        />
        <Jcalendar
          selectedDate={{
            year: 1397,
            month: 12,
            day: 15
          }}
          startYear={1300}
          endYear={1400}
        />
      </View>
    );
  }
}
```

note: Jcalendar and JPicker use flex as their layout, so user can manage layout more easily

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