mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-08 01:23:33 +00:00
Create util to format SVGs
This commit is contained in:
parent
83c32f46d7
commit
04aace9b50
2
src/utils/getFormattedSVG.js
Normal file
2
src/utils/getFormattedSVG.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export const getFormattedSVG = (svgString) =>
|
||||||
|
"data:image/svg+xml," + encodeURIComponent(svgString);
|
Loading…
x
Reference in New Issue
Block a user