Is there a way to programmatically open/close the date picker from react-native-datetimepicker?
My use case is creating a component based on TouchableOpacity that opens the DatePicker when pressed (with a much bigger surface area than the tiny date picker).
RNDateTimePicker does not seem to accept a ref, nor to have an API to hide/show.
Thank you very much.
 
                        
There is a demo in the document page.Control the show state to hide or show the datepicker.