Check out example codes for "glyphicon in bootstrap 4.4". It will help you in understanding the concepts better.

Code Example 1

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

Learn ReactJs, React Native from akashmittal.com