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

Fix: Import autocomplete suggestion for styled #3316

Closed
wants to merge 3 commits into from

Conversation

rockyroed
Copy link

What: Add autocomplete suggestion for styled. Fixes #3312

Why: When typing "styled" while coding, there are no autocompletion suggestions for styled. It's expected behavior is to have a suggestion option and when selected, imports styled like this: import styled from @emotion/styled

How: The previous code imports the base styled as styled. This changes it to baseStyled so the module can use styled as the default export.

Checklist:

  • Documentation N/A
  • Tests
  • Code complete
  • Changeset

Copy link

codesandbox-ci bot commented Feb 21, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

changeset-bot bot commented Feb 21, 2025

🦋 Changeset detected

Latest commit: b1db4d7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@emotion/styled Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rockyroed rockyroed closed this by deleting the head repository Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No import autocomplete suggestion for styled
1 participant