MCPcopy Index your code
hub / github.com/codemotionapps/react-native-dynamic / Counter

Function Counter

example/App.tsx:13–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11import Extra from './Extra'
12
13function Counter() {
14 const [counter, setCounter] = useState(0)
15 return <Button title={counter.toString()} onPress={() => setCounter((i) => i + 1)} />
16}
17
18export default function App() {
19 const mode = useDarkModeContext()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected