title: How to add a timer to my spinner in react-native
body: <p>Am making a react-native app and I have a spinner which shows up when the user is signing up in the application. I want to add a timer to my spinner so if a user tries to register and it takes time to register maybe because of network the spinner should stop. Its just like a network kind of timeout. </p>