We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In documentation it says
"Import your .svg file inside a React component:
import Logo from "./logo.svg";"
But in my case it only works without extension like this:
import Logo from "./logo"
Importing with extension gives the error:
Invariant Violation: View config getter callback for component <svg> </svg> must be a function (received undefined).
<svg> </svg>
undefined
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In documentation it says
"Import your .svg file inside a React component:
import Logo from "./logo.svg";"
But in my case it only works without extension like this:
import Logo from "./logo"
Importing with extension gives the error:
Invariant Violation: View config getter callback for component
<svg> </svg>
must be a function (receivedundefined
).The text was updated successfully, but these errors were encountered: