-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Can not override class with custom class in tailwind-merge #207
Comments
Hey @nguyenthanhan201! 👋 You need to configure tailwind-merge to understand your custom class. But I don't recommend using |
Thank for your help |
this is my custom class btn
.btn { @apply relative inline-flex min-w-16 cursor-pointer items-center justify-center rounded-lg leading-tight outline-none py-3 px-5 gap-2; }
then i use merge
twMerge( "btn", classVariants(variant), className )
The text was updated successfully, but these errors were encountered: