<div className="col-md-9">
<span style={{color:this.props.todo.done ?'#e6e6e6' : '#4d4d4d'},
{textDecoration: this.props.todo.done ? '#e6e6e6 line-through' : 'none'}
}
>
{this.props.todo.value}
</span>
</div>
I know the above one is wrong, but is there anyway to add multiple style attributes inside the span tag and make it work. As you can see I want both of them to work. Thank you