1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-29 20:21:14 +03:00
Files
svgo/test/plugins/addClassesToSVGElement.01.svg

18 lines
244 B
XML

Should add classes when passed as a classNames Array
===
<svg xmlns="http://www.w3.org/2000/svg">
test
</svg>
@@@
<svg xmlns="http://www.w3.org/2000/svg" class="mySvg size-big">
test
</svg>
@@@
{"classNames":["mySvg","size-big"]}