Hi!
I am trying to use an assign value in a style
attribute, something like:
<div style="color: item.color">
</div>
What I have already tried:
<div style={color: item.color}>
</div>
<div style={"color": item.color}>
</div>
<div style=[color: item.color]>
</div>
<div style={%{color: item.color}}>
</div>
Nothing works.
It this supported?
Thanks!