Replies: 1 comment 5 replies
-
The type expects that you pass the property first then you can apply the responsive values jokerCard({ size: { sm: “sm”, md: “lg” }) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I defined a recipe using
defineRecipe
so I could use them in a responsive way. They work pretty well but the generated type does not allow setting the breakpoints. This is the recipe:And this is how I'm using it:
And this is the error I get:
Beta Was this translation helpful? Give feedback.
All reactions