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

[react][core] Add support for sx replacement in transformed jsx calls #22

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

brijeshb42
Copy link
Contributor

@brijeshb42 brijeshb42 commented Apr 19, 2024

This got left out in the last PR where it only supported transformation in code with JSX.
This PR adds support for sx transform in already transformed JSX element to jsx() calls.

@mnajdova mnajdova closed this Apr 19, 2024
@mnajdova mnajdova reopened this Apr 19, 2024
@mnajdova mnajdova added the bug 🐛 Something doesn't work label Apr 19, 2024
@mnajdova
Copy link
Member

@brijeshb42 what do you think about adding labels for each @pigment-css packages and add tags related to the packages. For example, I would title this PR: "[pigment-css-react][bug] Add support for sx replacements in transformed jsx calls"

@brijeshb42
Copy link
Contributor Author

Makes sense regarding the tags. I'd maybe skip the pigment in the name since this repo is only for Pigment CSS, like [react][bug]. WDYT?

@brijeshb42 brijeshb42 changed the title [core] Add support for sx replacement in transformed jsx calls [react][core] Add support for sx replacement in transformed jsx calls Apr 19, 2024
@mnajdova
Copy link
Member

That works too!

@brijeshb42
Copy link
Contributor Author

@siriwatknp Let me know if this fixes your issues. I'll merge once you confirm.

@brijeshb42 brijeshb42 merged commit 4552664 into mui:master Apr 19, 2024
11 checks passed
@brijeshb42 brijeshb42 deleted the pigment/forward-sx-jsx branch April 19, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants