• Matt WalkerMatt Walker, almost 5 years ago

    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.

    3 points