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

feat: Text to Content #675

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

adamviktora
Copy link
Contributor

@adamviktora adamviktora commented Jun 26, 2024

Closes #663

This is a failing codemod.

Screenshot 2024-06-26 at 18 52 00

It will not work in case of nested elements (because we modify the outer wrapper, it cannot detect the children, because the range has been changed). I remember I did a workaround to this issue in the chipToLabel codemod, something with the getAllJSXElements helper.

@thatblindgeye thatblindgeye merged commit 09443bb into patternfly:main Jul 18, 2024
3 checks passed
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.

Text - replace with Content
3 participants