Defining custom CSS through a JS prop stops working

I used to define custom css through a js prop. It just stopped working…

image.png

Strange, what is the value you are actually being passed instead of the expected object?