About Component
Explore more about how to set up our own About modal component in this lesson.
We'll cover the following
The About Component
In this application, we’ll look at the Modal
component. It has the isOpen
and onRequestClose
properties, which determine when to open the Modal component and what should happen when we close it. There is also an IconButon
component that has an onClick
event handler, which calls an onClose function to hide the modal. Finally, we have a Divider
component for styling the hr
tag.
This is what the application looks like:
Get hands-on with 1200+ tech skills courses.