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(components): use custom JSX pragma from Emotion #647

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

connor-baer
Copy link
Member

Purpose

TypeScript transpiles JSX syntax to React.createElement calls. This prevented Emotion's css prop
from working.

Approach and changes

  • use custom JSX pragma from Emotion

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

TypeScript transpiles JSX syntax to `React.createElement` calls. This prevented Emotion's `css` prop
from working. The custom JSX pragma solves this.

feature/emotion-jsx
@connor-baer connor-baer added the 🐞 bug Something isn't working as it should label Jul 21, 2020
@connor-baer connor-baer added this to the v2.0 milestone Jul 21, 2020
@vercel
Copy link

vercel bot commented Jul 21, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sumup-oss/circuit-ui/2zr6we6x6
✅ Preview: https://circuit-ui-git-feature-emotion-jsx.sumup-oss.vercel.app

@connor-baer connor-baer merged commit ba6aeb5 into beta Jul 21, 2020
@connor-baer connor-baer deleted the feature/emotion-jsx branch July 21, 2020 09:42
@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.0.0-beta.23 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working as it should
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant