Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
henninghall committed Apr 8, 2018
1 parent e79e7bb commit 7676d9a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 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 }}
/>

```

0 comments on commit 7676d9a

Please sign in to comment.