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

Function _toggleDialog

example/src/Examples/DialogExample.tsx:26–27  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

24 const { isV3 } = useExampleTheme();
25
26 const _toggleDialog = (name: string) => () =>
27 setVisible({ ...visible, [name]: !visible[name] });
28
29 const _getVisible = (name: string) => !!visible[name];
30

Callers 1

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