Designer News is where the design community meets.
almost 5 years ago from Mo Baghdadi, I design stuff
Instead of thinking as every instance of a modal as a separate component, think about a single modal component with attributes that you can modify.
A list of attributes a modal can have: - Header - Body - Footer
I'd consider the header and footer to be mostly defined where the body gives the flexibility to add whatever content necessary.
Now playing
Instead of thinking as every instance of a modal as a separate component, think about a single modal component with attributes that you can modify.
A list of attributes a modal can have: - Header - Body - Footer
I'd consider the header and footer to be mostly defined where the body gives the flexibility to add whatever content necessary.