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

Function handleLongPress

src/components/FAB/FABGroup.tsx:309–316  ·  view source on GitHub ↗
(e: GestureResponderEvent)

Source from the content-addressed store, hash-verified

307 };
308
309 const handleLongPress = (e: GestureResponderEvent) => {
310 if (!open || enableLongPressWhenStackOpened) {
311 onLongPress?.(e);
312 if (toggleStackOnLongPress) {
313 toggle();
314 }
315 }
316 };
317
318 const { labelColor, backdropColor, stackedFABBackgroundColor } =
319 getFABGroupColors({ theme, customBackdropColor });

Callers

nothing calls this directly

Calls 1

toggleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…