This adds support for classes defined in a svg using the style tag:
<style>.cls-1{stroke:#b2b4b9;stroke-linecap:round;stroke-miterlimit:10;stroke-width:1.5px;}.cls-2{fill:#f9bc35;}</style>
Attributes of these classes can also be overridden using the following syntax
<SvgUri classes={{'cls-1': {stroke: 'blue'}}} ... />
This will override the stroke color of the class cls-1 other attributes remain untouched.
This adds support for classes defined in a svg using the style tag:
<style>.cls-1{stroke:#b2b4b9;stroke-linecap:round;stroke-miterlimit:10;stroke-width:1.5px;}.cls-2{fill:#f9bc35;}</style>
Attributes of these classes can also be overridden using the following syntax
<SvgUri classes={{'cls-1': {stroke: 'blue'}}} ... />
This will override the stroke color of the class cls-1 other attributes remain untouched.