'Generate random modal with one button click - React Native
I'm developing a project for myself, in React Native. I have a button that can open up two modals at the same time. However I need it to randomize between the two, so there's a 50/50 percent chance it'll open up either one.
I've tried searching for a solution for hours.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
