Motivation
Currently in our projects we have a lot of issues where we name the parent element of a component Wrapper and export it as export const Wrapper. When trying to import the component with an auto-importer, you have to search for the correct import in some IDEs (VSCode).
Question
How can we emit same name exports? My idea would be to name styles or types like StyledButton for a button and the type for it ButtonType.
Motivation
Currently in our projects we have a lot of issues where we name the parent element of a component
Wrapperand export it asexport const Wrapper. When trying to import the component with an auto-importer, you have to search for the correct import in some IDEs (VSCode).Question
How can we emit same name exports? My idea would be to name styles or types like
StyledButtonfor a button and the type for itButtonType.