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

Function onToggleSwitch

docs/src/components/BannerExample.tsx:63–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 const [checked, setChecked] = React.useState('first');
62
63 const onToggleSwitch = () => setIsSwitchOn(!isSwitchOn);
64
65 return (
66 <View

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…