In React you can clearly create an object and assign it as an inline style. i.e.. mentioned below.
var divStyle = {
I've found that this works best for me. It overrides as expected.
return