JSFiddle - React, Tailwind, and code Playground
HTML
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="200">
<g class="A">
<circle cx="100" cy="100" r="50" />
<circle cx="250" cy="100" r="50" />
</g>
<circle class="B" cx="400" cy="100" r="50" />
</svg>
CSS
* {stroke: black; fill: white}
.A:hover * {fill: orange}
.B:hover {fill: blue}