Here is how you can create a new Header component that links to an image in your reactjs project.

Create an assets dir and stick your image in there.

1.png

Then create a layouts dir and stick your new component in there.

2.png

Then call your new component from your main app.

3.png

Advertisements