MCPcopy Create free account
hub / github.com/callstack/react-native-paper / onHardwareBackPress

Function onHardwareBackPress

src/components/Modal.tsx:166–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 }
165
166 const onHardwareBackPress = () => {
167 if (dismissable || dismissableBackButton) {
168 onDismissCallback();
169 }
170
171 return true;
172 };
173
174 const subscription = addEventListener(
175 BackHandler,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…