I want to dynamically change my Semantic-UI-React progressbar's color (not from the pre-set colors).
The 'color' property of the Progress component accepts only pre-set values. When I pass style={{color: '#FFCC66'}}
, nothing changes. When I pass style={{backgroundColor: '#FFCC66'}}
, the color of the progressbar does not change, only the color of the background.
I can make a custom CSS rule, but I want to change the color dynamically, using JavaScript.
How can I change the color of my progressbar?