You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to have the ability to import not only SvgComponent as react native component, but allow import svg icon as text. Smth similar we got in svgr, which allows us to import url like `import svg from './assets/file.svg?url'. For now I'm not sure how to do this https://react-svgr.com/docs/webpack/#use-svgr-and-asset-svg-in-the-same-project
The text was updated successfully, but these errors were encountered:
FrozenPyrozen
changed the title
Could we import svg as a string not a SvgComponent i?
Could we add support for optional import svg as a string not a SvgComponent?
Nov 8, 2023
I wanted to have the ability to import not only
SvgComponent
as react native component, but allow import svg icon as text. Smth similar we got in svgr, which allows us to import url like `import svg from './assets/file.svg?url'. For now I'm not sure how to do thishttps://react-svgr.com/docs/webpack/#use-svgr-and-asset-svg-in-the-same-project
The text was updated successfully, but these errors were encountered: