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

Function randomDiceRoll

examples/files/hooks/useStateArray.js:4–4  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { View, Text, Button } from 'react-native'
3
4const randomDiceRoll = () => Math.floor(Math.random() * 6) + 1
5
6export default function App() {
7 const [diceRolls, setDiceRolls] = useState([])

Callers 1

useStateArray.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected