Skip to main content
New Participant
October 21, 2020
Question

SVG file not working in React Native App , How to export properly

  • October 21, 2020
  • 1 reply
  • 1379 views

In our 1 of React Native App project We are using SVG file's for display icon on many location, but when we use this it does not display properly . example : icon position not display at correct position . so we need to manually adjust each SVG file view-box property to display icon properly.

 

Can you please help us out in this , So that we can export SVG file with correct setting to display in React Native App . I have attached Setting Screenshot and test icon file for your reference.


In React Native we are using this plugin : “import SvgUri from 'react-native-svg-uri’;”

This topic has been closed for replies.

1 reply

Monika Gause
Community Expert
October 21, 2020

What would be the correct setting?

Can you please show a sketch or screenshot of what needs to be done?

Also how do you export?