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

gluestack-ui/v2-codemod convert values in "px" from v1 to v2 #2652

Open
jmgarciasanti opened this issue Dec 30, 2024 · 0 comments
Open

gluestack-ui/v2-codemod convert values in "px" from v1 to v2 #2652

jmgarciasanti opened this issue Dec 30, 2024 · 0 comments
Assignees

Comments

@jmgarciasanti
Copy link

Description

When executing gluestack-ui/v2-codemod tool, the values coming from v1 expressed as property={}, for example <... w={64} h={64} .../> should be converted to "px" values. Current version of codemod migrates those values to <... className="w-64 h-64" .../> and should be migrated to <... className="w-[64px] h-[64px]" ...>

Problem Statement

v2-codemod migrates some component with wrong configurations in className

Proposed Solution or API

Just as commented in description

Alternatives

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants