const customPanelStyle = {
'background-color': 'red',
'border': '1px solid green',
':hover'{
'background': 'blue'
}
}
class some extends React.Component{
render(){
return(
<Panel header={value} key="1" style={customPanelStyle} >
<p>{this.state.content[key]}</p>
</Panel>
)
}
}
How can use o attribute hover
in this case? My exemple doesn't work.. what i have to do?