i couldn't access a props value (react) inside a css psudo class. is there any solution???

myButton:{
backgroundColor: props => props.color,//working
‘&:after’:{
backgroundColor:props=>props.color//not working
}
}

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.