I have an SVG as a component. When I set it's width to 100% it works on React Native Web but not on native.
There is a link to the code here however the simulator devices arn't wide enough to show the issue. If test it on your own device which is over 375px wide then you'll see the issue. https://snack.expo.io/@jamesweblondon/bold-scones
I cant post the full component here as it's too big but this is the start of it:
function SvgComponent() {
return (
<Svg
width={375}
height={337}
fill="none"
viewBox="0 0 375 337"
style={{
width: "100%",
height: "auto",
}}
>