DEV Community

skptricks
skptricks

Posted on

React Native Generate Random Color on Button Click

Source : React Native Generate Random Color on Button Click

This tutorial explains how to dynamically generate random color on button onPress in react native android and iOS application. In this example we are going to generate rgb color by calling rgb function.

React Native Generate Random Color on Button Click

Click here to read more...

Top comments (0)