Include example under "Merging Styles" for using a pattern inside a recipe #3304
Unanswered
rvankints-rm
asked this question in
Q&A
Replies: 0 comments
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.
-
It took me a bit of time to figure how to use a pattern inside a recipe.
As an example, I have a button CVA recipe in which I wanted to use the circle pattern. Using the following resulted in a typescript error:
But in the end, made it work with this:
In the section on "Merging Styles", the combination of
cssandcva(orsva) is covered, but for those cases, thecssisn't used inside thecvaitself.Assuming my above solution is valid, it makes it very clear that the base
cvaextends itself from thecirclepattern.Beta Was this translation helpful? Give feedback.
All reactions