In this video, we'll create a header component.
First, create a file called
/src/components. Then, import React, create a simple function component, and add an
Once that's done, import and use
Header in the
What if we need to pass some parameters to that component to fine tune which parts of the layout show where? We'll learn about that in the next video.