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

Code Example 1

<iframe src="https://web.com" style="width:0; height:0; border:0; border:none;"></iframe>

Learn ReactJs, React Native from akashmittal.com