Skip to content
Discussion options

You must be logged in to vote

Hi @outofthisworld,

You can achieve style merging by using the .raw(...) method on the cva, and merging the styles with the css function.

.raw(...) returns the resolved style object

const mergedClassName = css(Test.raw(...), { bg: "orange", width:"200px" })

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@outofthisworld
Comment options

@segunadebayo
Comment options

Answer selected by segunadebayo
Comment options

You must be logged in to vote
1 reply
@segunadebayo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants