Create util to format SVGs

This commit is contained in:
RadoslavDimchev 2023-07-22 14:40:21 +03:00
parent 83c32f46d7
commit 04aace9b50

View File

@ -0,0 +1,2 @@
export const getFormattedSVG = (svgString) =>
"data:image/svg+xml," + encodeURIComponent(svgString);