Hi! Is there way to set width for e.g to 100%%?
2 thoughts on “How to set SVG width and height in percents?”
Comments are closed.
Hi! Is there way to set width for e.g to 100%%?
1 thought on “How to set SVG width and height in percents?”
-
I have a new PR, with support for nesting svg, percentages in width&height, and correctly re/rendering when changing dimensions: #596
Needs more testing though, just a fast first attempt.
Comments are closed.
Can
t do that in react-native. SVG like other components in react-native. It can
t set dimensions style in percent.I have a new PR, with support for nesting svg, percentages in width&height, and correctly re/rendering when changing dimensions: #596
Needs more testing though, just a fast first attempt.