MCPcopy
hub / github.com/mmazzarolo/react-native-modal-datetime-picker / hidePicker

Function hidePicker

example/App.js:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 };
20
21 const hidePicker = () => {
22 setPickerMode(null);
23 };
24
25 const handleConfirm = (date) => {
26 // In order to prevent the double-shown popup bug on Android, picker has to be hidden first (https://github.com/react-native-datetimepicker/datetimepicker/issues/54#issuecomment-618776550)

Callers 1

handleConfirmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…