MCPcopy Create free account
hub / github.com/dabbott/react-native-express / CounterButton

Function CounterButton

examples/files/react/customEvent.js:4–6  ·  view source on GitHub ↗
({ title, onIncrement })

Source from the content-addressed store, hash-verified

2import { Button } from 'react-native'
3
4function CounterButton({ title, onIncrement }) {
5 return <Button title={title} onPress={onIncrement} />
6}
7
8export default function App() {
9 const [count, setCount] = useState(0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected