Skip to content

Commit 1d2072a

Browse files
author
Tane Morgan
committed
Fix README example
1 parent 85f33a7 commit 1d2072a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Other non-documented properties are applied to the wrapper element.
5353
<ReactSVG
5454
src="svg.svg"
5555
evalScripts="always"
56-
fallback={'p'}
56+
fallback={() => <span>Error!</span>}
5757
onInjected={(error, svg) => {
5858
if (error) {
5959
console.error(error)

0 commit comments

Comments
 (0)