MCPcopy Create free account
hub / github.com/AppAndFlow/react-native-safe-area-context / saveCurrentExample

Function saveCurrentExample

example/src/App.tsx:42–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40
41 React.useEffect(() => {
42 async function saveCurrentExample() {
43 if (currentExample != null) {
44 await AsyncStorage.setItem(STORAGE_KEY, currentExample);
45 }
46 }
47 saveCurrentExample();
48 }, [currentExample]);
49

Callers 1

AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected