Skip to content

Why is Dialog exporting multiple components? #16

Description

@evanbechtol

In src/components/ui/dialog.tsx, the component is exporting multiple components that are defined in the same file.

Why was this approach taken, instead of creating a Dialog directory, and putting each component in a separate file? Wouldn't this improve readability, testability, maintainability, and better implement separation of concerns?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions