Skip to content

[V4] Ignore className if empty string is provided#797

Merged
marklawlor merged 3 commits intonativewind:mainfrom
hukpo:empty-className
Feb 16, 2024
Merged

[V4] Ignore className if empty string is provided#797
marklawlor merged 3 commits intonativewind:mainfrom
hukpo:empty-className

Conversation

@hukpo
Copy link
Contributor

@hukpo hukpo commented Feb 15, 2024

fixes #650 for components using tailwind-merge which returns an empty string instead on undefined

image

@vercel
Copy link

vercel bot commented Feb 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nativewind ✅ Ready (Inspect) Visit Preview Feb 16, 2024 5:36am

@hukpo hukpo changed the title Ignore className if empty string is provided [V4] Ignore className if empty string is provided Feb 15, 2024
@marklawlor marklawlor merged commit fd9a0b5 into nativewind:main Feb 16, 2024
@hukpo hukpo deleted the empty-className branch February 16, 2024 09:39
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.

V4: Remap of undefined columnWrapperStyle in FlatList violates invariant

2 participants