We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f33a7 commit 1d2072aCopy full SHA for 1d2072a
README.md
@@ -53,7 +53,7 @@ Other non-documented properties are applied to the wrapper element.
53
<ReactSVG
54
src="svg.svg"
55
evalScripts="always"
56
- fallback={'p'}
+ fallback={() => <span>Error!</span>}
57
onInjected={(error, svg) => {
58
if (error) {
59
console.error(error)
0 commit comments