Is there any way to load default svg?
dhruv-tank opened this issue · 1 comments
dhruv-tank commented
How to load default svg in case of 'missing src' or any other error occured during loading svg?
gilbarbara commented
Hey,
There's no concept of default in this library.
You could change the src
in case of an error using a combination of internal state and the onError
callback.
Or set a fallback as children.