I am trying to do inline style for which following is working
<dt className='some-element' style={{backgroundColor : '#1a1a1a', fill: '#1a1a1a'}}>
Now I am trying to change the hex value every time so trying to have something like
let styleConfig = `backgroundColor : '${someColor}', fill: '${someColor}'`
<dt className='some-element' style={{styleConfig}}>
But I am not getting seeing style being applied as the first one nor I get any console error.
Any suggestion?