You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Motivation
Currently in our projects we have a lot of issues where we name the parent element of a component
Wrapper
and 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
StyledButton
for a button and the type for itButtonType
.The text was updated successfully, but these errors were encountered: