Incorrect type for addVariant()
#15405
Unanswered
programming-with-ia
asked this question in
Help
Replies: 1 comment 1 reply
-
Hey! That's because the APIs you're trying to use are outdated and should not for a while already. Check out the Variant API added in Tailwind CSS v3 to understand how to extend variants: https://tailwindcss.com/docs/plugins#adding-variants |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when working with typescript face correct typing issue
when using like this
Beta Was this translation helpful? Give feedback.
All reactions