Add example of dynamic class generation with clsx #20401
rexblade58
started this conversation in
Ideas
Replies: 1 comment
|
Truly dynamic class generation cannot work in Tailwind. Otherwise, the usage in clsx's readme and classname's readme should be enough to demonstrate how to use the respective libraries. For use with transpose the class names with Tailwind class names. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Document the recommended pattern for conditionally applying Tailwind classes using clsx or classnames utility.
All reactions