-
Hi all, Within my next config file I have the icon option for SVGR set to true and so far it's worked well allowing font-size to dictate an SVG's width and height. However I now have a use case where I'd like the imported SVG to not have it's height and width replaced with 1em (default behaviour before setting 'icon: true'). Is there any way to state only use 'icon: true' for SVGs within a specific directory, leaving other SVGs with the default option? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
gregberge
Feb 15, 2023
Replies: 1 comment
-
Hello @dentz just use separated SVGR commands by directory. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gregberge
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @dentz just use separated SVGR commands by directory.