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

Function _toggleMenu

example/src/Examples/MenuExample.tsx:40–41  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

38 const { isV3 } = useExampleTheme();
39
40 const _toggleMenu = (name: string) => () =>
41 setVisible({ ...visible, [name]: !visible[name] });
42
43 const _getVisible = (name: string) => !!visible[name];
44

Callers 1

MenuExampleFunction · 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…