Check out example codes for "background image in css is not working". It will help you in understanding the concepts better.

Code Example 1

background-image: url(nickcage.jpg); // No quotes around the file name so just write it down without "nickcage".jpg

Code Example 2

background-image: url(nickcage.jpg); // first problem may be missing quotation mark
// Second may be wrong path 
// check the name of the file if there is any error
// check whether you are using proper extension of the file

Learn ReactJs, React Native from akashmittal.com