Browse Source

Update README.md

master
Henning Hall 7 years ago
committed by GitHub
parent
commit
7676d9aaf0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 1 deletions
  1. +18
    -1
      README.md

+ 18
- 1
README.md View File

@ -1,3 +1,20 @@
# react-native-date-picker # react-native-date-picker
A cross platform date picker component for React Native. This component uses the default DatePickerIOS on iOS and a custom picker on Android which has similar look and feel.
A cross platform date picker component for React Native. This component uses the default DatePickerIOS on iOS and a custom picker on Android which has similar look and feel.
## Installation
`$ yarn add @henninghall/react-native-date-picker`
## Usage
```js
import Picker from '@henninghall/react-native-date-picker';
<Picker
date={new Date()}
onDateChange={(date) => console.log(date)}
style={{ width: 300, height: 210 }}
/>
```

Loading…
Cancel
Save