How to import images in React.js with styled-components?

Posted by Jessica Taylor | Updated on

Want to import images in React.js with styled-components? You should import images in the following manner (assuming that you have webpack configured for importing media assets.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers