For some reason, I need to pass CSS objects using CSS object model inside a react component. Here, I need styles for buttons when they are disabled and when not disabled. Like we do with: backgroundColor, borderRadius and such.
const controlButton = {
backgroundColor:"#006191",
padding:"10px 20px",
border:"none",
borderRadius:"5px"
}
This is where im trying to use it and wanto to pass the object in style.