In React you can clearly create an object and assign it as an inline style. i.e.. mentioned below.
var divStyle = {
You can use the spread operator:
Back