You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tw.variants is not working expected. It is not typed correctly.
Expected behavior
variants function should be typed correctly.
constt=createTools<Tailwindest>()constbox=t.variants({variants: {size: {xs: {// <---- At this part, it should access tailwindest style object properties e.g)backgroundColor etc...},sm: {}}}})
Additional context
CreateTool's generic part is making it messy.
The text was updated successfully, but these errors were encountered:
Describe the bug
tw.variants
is not working expected. It is not typed correctly.Expected behavior
variants
function should be typed correctly.Additional context
CreateTool's generic part is making it messy.
The text was updated successfully, but these errors were encountered: