I created an SVG logo and want to animate it inside a React component. In my SVG I have 3 different gradients: green, orange, and red. I noticed that when I'm trying to assign a gradient via className to another element it fills it with just a plain color. Could you please help me to understand what I'm doing wrong here?
here is the code: https://codesandbox.io/s/shy-moon-zs1ik5