I am using CSS module along with react. I want to change the border-radius dynamically from react. In the box.css , i set the border-radius as radiusValue. My goal is to modify the value of radiusValue from a react component. Is that possible? I couldn't find any solution related to updating the @value variable.
Thank you
inside box.css:
@value radiusValue:0px
.box{
height: 200px;
width: 300px;
border: 10px solid #595252;
border-radius: radiusValue;
padding: 100px;
margin: 50px;
}