gilbarbara/react-inlinesvg

Color a SVG path with id="abc"

ashishmundrajll opened this issue · 1 comments

Hi All.

We have a SVG loaded in this viewer. Now when someone clicks a button outside viewer, we like to color SVG path where . How can we achieve this?

Thanks,
Ashish

Hey @ashishmundrajll

This package just loads the files, it doesn't change the styles.
You can try adding a CSS class and change the path fill with it.