Skip to content

Commit 46efb6f

Browse files
Update README.md
1 parent 9b6ef64 commit 46efb6f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,34 @@
11
# react-native-universal-datepicker-ios
2+
3+
[![Codelab](http://www.codelabsys.com/images/logo.png)](http://www.codelabsys.com/)
4+
5+
## Getting started
6+
### Installing
7+
[![NPM](https://nodei.co/npm/react-native-hijri-date-picker-android.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/react-native-hijri-date-picker-android/)
8+
9+
$ npm install react-native-hijri-date-picker-android --save`
10+
11+
$ react-native link react-native-hijri-date-picker-android`
12+
13+
## List of available calendars.
14+
* Gregorian
15+
* hijri [IslamicUmmAlQura, Islamic, islamicCivil, islamicTabular]
16+
* chinese
17+
* republicOfChina
18+
* persian
19+
* japanese
20+
* indian
21+
* coptic
22+
* ISO8601
23+
24+
## Available props
25+
26+
| Name | Type| Default | Description |
27+
| --- | --- | --- | --- |
28+
| date | string or number | today timestamp (new Date().getTime()) | timestamp value that represents the initial value of the datepicker |
29+
| maximumDate | string or number | null | timestamp value that represents the maximum date that the user can select |
30+
| minimumDate | string or number | null | timestamp value that represents the minimum date that the user can select |
31+
| onChange | func | () => null | Callback that is fired when user changes current selected date. The returned object have two properties timestamp and string date |
32+
| dateFormat | string | dd-MM-yyyy | Format for the returned selected date |
33+
| calendar | string | Gregorian | sets native calendar type |
34+
| mode | string | datetime | type of the picker supports date, time, datetime |

0 commit comments

Comments
 (0)