Concat recipe()
and css()
#1545
-
Hey, what is the best way to combine My guess would be: <button
className={
css({
bg: 'yellow.600',
borderRadius: '0.5rem',
}) +
' ' +
button()
}
>
this is a button
</button> |
Beta Was this translation helpful? Give feedback.
Answered by
anubra266
Oct 19, 2023
Replies: 1 comment
-
https://panda-css.com/docs/concepts/writing-styles#classname-concatenation |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
benjaminpreiss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://panda-css.com/docs/concepts/writing-styles#classname-concatenation