Skip to content

Commit 7676d9a

Browse files
authored
Update README.md
1 parent e79e7bb commit 7676d9a

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
11
# react-native-date-picker
22

3-
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.
3+
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.
4+
5+
## Installation
6+
7+
`$ yarn add @henninghall/react-native-date-picker`
8+
9+
## Usage
10+
11+
```js
12+
import Picker from '@henninghall/react-native-date-picker';
13+
14+
<Picker
15+
date={new Date()}
16+
onDateChange={(date) => console.log(date)}
17+
style={{ width: 300, height: 210 }}
18+
/>
19+
20+
```

0 commit comments

Comments
 (0)