I attempted to dynamically change the background image style for the div below:
Below is my code snippet for implementation:
render: function() {
var divImage = {
backgroundImage : "url(" + this.state.song.imgSrc + "),url(" + this.state.nextImgSrc + ");"
};
return (
<li>
<div ref="image-pane" className="player" style={divImage}></div>
</li>
)
}
Appreciate any assistance offered. Thank you!