Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stu01509 opened this issue May 16, 2024 · 0 comments
Open

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

stu01509 opened this issue May 16, 2024 · 0 comments

Comments

@stu01509
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant