Skip to content

How can we emit same name exports? #11

@visualcookie

Description

@visualcookie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions