

If you're running a React Native version below 0.60 or your setup is having issues with automatic linking, you can run npx react-native link react-native-date-picker and rebuild. Then rebuild the project by running react-native run-ios, react-native run-android or start the build from within Xcode/Android Studio. Usually, the only thing you need to do is to install the package, the cocoapods dependencies (as described above). Modal only, iOS 13+: The theme of the modal.

Modal only: Callback for when user presses cancel button or closing the modal by pressing outside it. Modal only: Date callback when user presses confirm button Modal only: Boolean indicating if modal should be open. When enabled, the other modal props needs to be used. Import React, (android only, default: 'device')īoolean indicating if modal should be used.
