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

Add autocomplete suggestion for styled. #3317

Closed
wants to merge 1 commit 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

changeset-bot bot commented Feb 22, 2025

🦋 Changeset detected

Latest commit: 2af9f81

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

Copy link

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.

@rockyroed rockyroed closed this 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