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?
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?