Check out example codes for "google pdf iframe viwer". It will help you in understanding the concepts better.

Code Example 1

<iframe src="https://docs.google.com/gview?url={magical url that works}"></iframe>

Learn ReactJs, React Native from akashmittal.com