| minuteInterval | The interval at which minutes can be selected. | <imgsrc="docs/minute-interval-ios.png"alt="Date picker minute interval IOS"height="120px"/> | <imgsrc="docs/minute-interval-android.png"alt="Date picker minute interval Android"height="120px"/> |
| minuteInterval | The interval at which minutes can be selected. | <imgsrc="docs/minute-interval-ios.png"alt="Date picker minute interval IOS"height="120px"/> | <imgsrc="docs/minute-interval-android.png"alt="Date picker minute interval Android"height="120px"/> |
| mode | The date picker mode. {'datetime', 'date', 'time'} | <imgsrc="docs/datetime-mode-ios.png"alt="React native date time picker"height="120px"/><imgsrc="docs/date-mode-ios.png"alt="React native datepicker"height="120px"/><imgsrc="docs/time-mode-ios.png"alt="React native time picker"height="120px"/> | <imgsrc="docs/datetime-mode-android.png"alt="react native date time picker android"height="120px"/><imgsrc="docs/date-mode-android.png"alt="react native datepicker android"height="120px"/><imgsrc="docs/time-mode-android.png"alt="react native time picker android"height="120px"/> |
| mode | The date picker mode. {'datetime', 'date', 'time'} | <imgsrc="docs/datetime-mode-ios.png"alt="React native date time picker"height="120px"/><imgsrc="docs/date-mode-ios.png"alt="React native datepicker"height="120px"/><imgsrc="docs/time-mode-ios.png"alt="React native time picker"height="120px"/> | <imgsrc="docs/datetime-mode-android.png"alt="react native date time picker android"height="120px"/><imgsrc="docs/date-mode-android.png"alt="react native datepicker android"height="120px"/><imgsrc="docs/time-mode-android.png"alt="react native time picker android"height="120px"/> |
@ -76,7 +78,9 @@ export default () => {
| textColor | Changes the text color. ⚠ Colors other than black (#000000) or white (#ffffff) will replace the "Today" string with a date on iOS 13 or higher. | <imgsrc="docs/colors-ios.png"alt="react native datepicker text color background color ios"height="120px"/> | <imgsrc="docs/colors-android.png"alt="Text color background color android"height="120px"/> |
| textColor | Changes the text color. ⚠ Colors other than black (#000000) or white (#ffffff) will replace the "Today" string with a date on iOS 13 or higher. | <imgsrc="docs/colors-ios.png"alt="react native datepicker text color background color ios"height="120px"/> | <imgsrc="docs/colors-android.png"alt="Text color background color android"height="120px"/> |
| dividerHeight | Change the divider height (only supported for iosClone) |
| dividerHeight | Change the divider height (only supported for iosClone) |
| is24hourSource | Change how the 24h mode (am/pm) should be determined, by device settings or by locale. {'locale', 'device'} (android only, default: 'device') |
| is24hourSource | Change how the 24h mode (am/pm) should be determined, by device settings or by locale. {'locale', 'device'} (android only, default: 'device') |
## Linking
This package supports automatic linking. Usually, the only thing you need to do is to install cocoapods dependencies as descripted above and rebuild the project by running `react-native run-ios`, `react-native run-android` or start the build from within Xcode/Android Studio. If you'running a React Native version below 0.60 or your settup are having issues with automatic linking, you can run `npx react-native link react-native-date-picker` and rebuild. In some occations you even have to manually link the package. Instructions in <ahref="https://github.com/henninghall/react-native-date-picker/issues/40">this issue</a>.