npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

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
}
}