Skip to content

Commit 4dbc416

Browse files
Update README.md
1 parent 2dc0229 commit 4dbc416

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# react-native-universal-datepicker-ios.
22

3-
[![Codelab](http://www.codelabsys.com/images/logo.png)](http://www.codelabsys.com/)
4-
53
## Installing.
64
[![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/)
75

@@ -31,3 +29,13 @@ $ react-native link react-native-hijri-date-picker-android
3129
| dateFormat | string | dd-MM-yyyy | Format for the returned selected date |
3230
| calendar | string | Gregorian | sets native calendar type |
3331
| mode | string | datetime | type of the picker supports date, time, datetime |
32+
33+
## Usage
34+
```javascript
35+
import DatepickerIOS from 'react-native-universal-datepicker-ios';
36+
37+
_onDateChange: function({date, timestamp}){}
38+
39+
<DatePickerIOS calendar="IslamicUmmAlQura" date={new Date().getTime()} onDateChange={this._onDateChange} />
40+
```
41+
[![Codelab](http://www.codelabsys.com/images/logo.png)](http://www.codelabsys.com/)

0 commit comments

Comments
 (0)