Check out example codes for "import a library in c". It will help you in understanding the concepts better.

Code Example 1

#include <library>

Learn ReactJs, React Native from akashmittal.com