How to save my Svg component as a svg file ?
See original GitHub issuehello. In my application, I made an image with react-native-svg , just like this:
<Svg height="500" width="500" style={{backgroundColor:'#33AAFF'}}>
<Rect
x="50"
y= "50"
width="50"
height="50"
fill= "#3399ff"
strokeWidth="3"
stroke="rgb(0,0,0)"
/>
</Svg>
Now, I want to save the content as svg file,for providing to other application to use it, but I cant find any resolution to deal this.
Im a Newer in Reat-native, im work on native android before, so please give me some suggestions about this problem, that will be every thankful.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
How to save my Svg component as a svg file ? #1142 - GitHub
Now, I want to save the content as svg file,for providing to other application to use it, but I cant find any resolution...
Read more >React SVG: How to use SVGs best in React - CopyCat Blog
In this article, we'll look at react SVG - importing SVG into react, how to convert SVG to components, and much more.
Read more >Export high-quality, optimized SVG - Adobe Illustrator
To export a section or component of your design to SVG, select it, and then choose File > Export Selection > SVG (svg)....
Read more >javascript - How do I save/export an SVG file after creating an ...
get inline svg element to output. · get svg source by XMLSerializer. · add name spaces of svg and xlink. · construct url...
Read more >Optimizing, Converting And Exporting SVG Icons In React
Optimizing SVGs · Click on Paste markup an paste the SVG code that you exported from Sketch (a.k.a. the SVG file above) ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This works well in react-native-web and web version of expo as well:
Can this be done on mobile? I’m having issues importing “react-dom”