Missing namespace
See original GitHub issueIt seems that the dist versions of the icons, are missing the namespace tag?
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor">
vs.
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
The type or namespace cannot be found (are you missing a ...
In my case, I was getting: "The type or namespace name 'UserVoice' could not be found (are you missing a using directive or...
Read more >Resolve Missing Namespaces in Code Samples
In this article we will demo a few cases of code snippets that contain unidentified classes and see how to resolve the missing...
Read more >C# the type or namespace name could not be found (are you ...
The problem is that it can't find the class - it's not in the same namespace as your current code. That may be...
Read more >Missing Namespace Errors in My .NET Project - NI - Support
When I build my Measurement Studio project in Visual Studio I get an error that states The type or namespace does not exist...
Read more >Missing namespace for foo
This element is in a namespace, but you have not declared the namespace. Solution. Declare the namespace at the top of your feed....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@adamwathan Because of missing xmlns, I got multiple issues when trying to preview the svg:
vs
Removal of xmlns would be better handled by the user/compiler you’re using. For example in React https://react-svgr.com/docs/webpack/ does it by default.
Thoughts?
@vvo this is the repo that needs to be updated -> https://github.com/codex-src/react-heroicons