I am trying to use Line element from react-native-svg however it does not appear when I use iOS but does appear on Android operating systems. Any suggestions? Thank you in advance
Asked
Active
Viewed 568 times
1
-
Whoever upvoted this, please review the description of the upvoting privilege. I think you are abusing it. Please understand that upvoting an information-scarce question like this sheds an unfavorable light on this post and its author. It risks getting this inexperienced new user into undeserved trouble. – Yunnosch Apr 14 '22 at 13:02
1 Answers
0
Make sure that the Line
element is wrapped in <Svg>
with width
and height
defined.
-
-
Thanks for the compliment, but this is not my answer. Praise should go to the author. – Yunnosch Apr 18 '22 at 05:32
-
1Yes you're correct @Yunnosch, asking for details is definitely one for comments, my bad! – BLS Apr 20 '22 at 09:22