matype/picostyle

New export css(decls) function

Closed this issue · 0 comments

Can you add a new exported css(decls) function that returns the class name?

const classname = css({
   color: 'red'
})

<BUTTON className={classname} />