Check out example codes for "trash icon font awesome". It will help you in understanding the concepts better.

Code Example 1

<i class="fa fa-trash" aria-hidden="true"></i>

Learn ReactJs, React Native from akashmittal.com