gluestack-ui icon indicating copy to clipboard operation
gluestack-ui copied to clipboard

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

Open jmgarciasanti opened this issue 11 months ago • 0 comments

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

jmgarciasanti avatar Dec 30 '24 16:12 jmgarciasanti