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 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?
The text was updated successfully, but these errors were encountered:
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 errorWarning: <SvgrURL /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.
I tried to change the
SvgrURL
tosvg
to resolve the issue, do you think it is suitable? and should we update the example in the document?The text was updated successfully, but these errors were encountered: