未验证 提交 f44612e7 编写于 作者: X XhmikosR 提交者: GitHub

addClassesToSVGElement: add one more test (#1441)

上级 65c733a4
Should add classes when passed as a classNames Array
===
<svg xmlns="http://www.w3.org/2000/svg">
test
</svg>
......
Should add class when passed as a className String
===
<svg xmlns="http://www.w3.org/2000/svg">
test
</svg>
@@@
<svg xmlns="http://www.w3.org/2000/svg" class="mySvg">
test
</svg>
@@@
{"className":"mySvg"}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册