Doesn't work with className?
towry opened this issue · 2 comments
towry commented
How to add custom className?
<h3 { ...css(styles.title)} className="heading">title</h3>
h3 will only have one class name.
ljharb commented
You don't; all styling comes through css
.
MarcAlx commented
Here's a "dirty" workaround to your problem :
<h3 { ...css(styles.title)} className="heading">title</h3>
Would be
<h3 className={css(styles.title).className+" heading"}>title</h3>