Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we emit same name exports? #11

Open
visualcookie opened this issue Sep 24, 2020 · 0 comments
Open

How can we emit same name exports? #11

visualcookie opened this issue Sep 24, 2020 · 0 comments
Labels
discussion question Further information is requested

Comments

@visualcookie
Copy link
Contributor

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.

@visualcookie visualcookie changed the title Emit same name exports How can we emit same name exports? Oct 5, 2020
@visualcookie visualcookie added the question Further information is requested label Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant