Closed voronianski closed 9 years ago
Yeah we took this out because it's something that just belongs in another module. There are a few of them that do this, it lets you do things like include auto-prefixer which starts to get way out of scope for deku.
what simple (i.e. 'classnames') module can you use here ?
{ width: '80%', paddingBottom: '80%' }
=> "width : 80%; padding-bottom: 80%"
found natew/object-to-css
My old code with style attribute as object, for example
<div style={condition ? {color: 'red'} : {}}>Text</div>
now returns weird[object Object]
. So now style should accept only regular string -<div style={condition ? "color: red" : ""}>Text</div>
?