svgr icon indicating copy to clipboard operation
svgr copied to clipboard

Warning: The tag <SvgrURL> is unrecognized in this browser

Open stu01509 opened this issue 1 year ago • 0 comments

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?

image

stu01509 avatar May 16 '24 06:05 stu01509