Check out example codes for "html timed hide". It will help you in understanding the concepts better.

Code Example 1

setTimeout(function() {
  $('#hide').show()
}, 4000);

Learn ReactJs, React Native from akashmittal.com