Check out example codes for "wix logo maker". It will help you in understanding the concepts better.

Code Example 1

Link: https://www.wix.com/logo/maker

Learn ReactJs, React Native from akashmittal.com