svgr
svgr copied to clipboard
Warning: The tag <SvgrURL> is unrecognized in this browser
Hi Team,
I am following the setup to configure the Svgr with Jest, but I found that If I used the export default 'SvgrURL' in __mocks__/svg.js file, I will got an error Warning: <SvgrURL /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.
I tried to change the SvgrURL to svg to resolve the issue, do you think it is suitable? and should we update the example in the document?