修复者
const viewBox = '0 0 '+this.state.screenWidth+' '+this.state.screenHeight;
return <Svg viewBox={viewBox} style={styles.wrapper}>
我认为这不是最好的解决方案,但它是有效的
<YourSVG
width={undefined}
height={undefined}
style={{width: '100%', height: '100%'}}
preserveAspectRatio="none"
/>