Check out example codes for "how to add image in title bar". It will help you in understanding the concepts better.

Code Example 1

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

Learn ReactJs, React Native from akashmittal.com