MCPcopy Index your code
hub / github.com/callstack/react-native-paper / toggle

Function toggle

src/components/FAB/FABGroup.tsx:300–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298
299 const close = () => onStateChange({ open: false });
300 const toggle = () => onStateChange({ open: !open });
301
302 const handlePress = (e: GestureResponderEvent) => {
303 onPress?.(e);

Callers 2

handlePressFunction · 0.85
handleLongPressFunction · 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…