Relative Content

Tag Archive for reactjsanimationsvgdividegroup

How do I group SVG parts in React?

I generated an SVG code that I want to animate. The SVG draws out letters. I’d like to somehow group the different letters so that I can set different animations for them. After the <path> tags, I successfully set up a class that the program detects, which works fine. However, I also need an identifier, but even though I tried putting these lines between <div> or <g> tags, the program couldn’t find them.I also tried setting an id for each path apart from the class, but that didn’t work either.