# react-native-nepali-date-picker

> ## Usage This library is the date picker for nepali calendar. To use import the library as

Latest version **0.1.33** (published 2018-10-29) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install react-native-nepali-date-picker
pnpm add react-native-nepali-date-picker
yarn add react-native-nepali-date-picker
bun add react-native-nepali-date-picker
```

## 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.33 |
| Published | 2018-10-29 |
| First published | 2018-10-08 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 20.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Aashish Karki |
| Maintainers | y2z |

## Links

- npm: https://www.npmjs.com/package/react-native-nepali-date-picker
- Repository: https://github.com/sharingapples/react-native-nepali-date-picker
- Homepage: https://github.com/sharingapples/react-native-nepali-date-picker#readme
- Issues: https://github.com/sharingapples/react-native-nepali-date-picker/issues
- npm.io page: https://npm.io/package/react-native-nepali-date-picker

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [nepali-date](https://npm.io/package/nepali-date.md) ^0.1.3
- [react-native-material-dropdown](https://npm.io/package/react-native-material-dropdown.md) ^0.11.1

## Recent versions

- 0.1.33 (latest) — 2018-10-29
- 0.1.31 — 2018-10-09
- 0.1.3 — 2018-10-09
- 0.1.2 — 2018-10-09
- 0.1.1 — 2018-10-09
- 0.1.0 — 2018-10-09
- 0.0.1 — 2018-10-08

## README

# react-native-nepali-date-picker

## Usage
This library is the date picker for nepali calendar. To use import the library as

```javascript
import React from 'react';
import Calendar from 'react-native-nepali-date-picker'

const App = () => (
  <Calendar
  // defaultDateTimeValue
  value={new Date()} // default value
  visibility={true} // set the visibilty of the component
  onSelect={v => console.log(v)} // on each select by the user to a certain date
  onCancel={v => console.log(v)} // on press cancel thought not required
   //as user can handle is still can be useful as it gives you back the value you pass to it
  onChange={v => console.log(v)} // on press ok
  />);

```

The resulting value v for each function call back has property as:

  1) getYear: gives year in number
  2) getMonth: gives Month in number
  3) getDate: gives the date in number

## Output

![simulator screen shot - iphone x - 2018-10-29 at 16 09 56](https://user-images.githubusercontent.com/12614476/47644129-72f3f200-db95-11e8-95d7-2ddbcbdf9032.png)

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