vault-development / react-native-svg-uri

Render SVG images in React Native from an URL or static file
850 stars 334 forks source link

Display blur on iPhone X Max(4k screen) #182

Closed Ctrlzyh closed 5 years ago

Ctrlzyh commented 5 years ago

<SvgUri width={RatioUtils.convertX(136)} height={RatioUtils.convertY(86)}

/>

"react-native": "0.51.0",
"react-native-svg": "5.5.1",
"react-native-svg-uri": "^1.2.3"

iPhone X Max: image

other:

image

Ctrlzyh commented 5 years ago

<SvgUri width={RatioUtils.convertX(136)} height={RatioUtils.convertY(86)} source={{ uri: ‘http://wx.rootsense.cn/self/App/ShoeStatus/zu_qiu_xie.svg’}} />

"react-native": "0.51.0",
"react-native-svg": "5.5.1",
"react-native-svg-uri": "^1.2.3"

iPhone X Max: image

other:

image