|
|
7 years ago | |
|---|---|---|
| android | 7 years ago | |
| README.md | 7 years ago | |
| index.js | 7 years ago | |
| package.json | 7 years ago | |
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.
$ yarn add @henninghall/react-native-date-picker
$ react-native link
import Picker from '@henninghall/react-native-date-picker';
<Picker
date={new Date()}
onDateChange={(date) => console.log(date)}
style={{ width: 300, height: 210 }}
/>