You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`evalScripts` - _Optional_ Run any script blocks found in the SVG. One of `'always'`, `'once'`, or `'never'`. Defaults to `'never'`.
42
43
-`fallback` - _Optional_ Fallback to use if an injection error occurs. Can be a string, class component, or function component. Defaults to `null`.
44
+
-`loading` - _Optional_ Component to use during loading. Can be a string, class component, or function component. Defaults to `null`.
43
45
-`onInjected` - _Optional_ Function to call after the SVG is injected. If an injection error occurs, this function receives an `Error` object as the first parameter. Otherwise, the first parameter is `null` and the second parameter is the injected SVG DOM element. Defaults to `() => {}`.
44
46
-`renumerateIRIElements` - _Optional_ Boolean indicating if SVG IRI addressable elements should be renumerated. Defaults to `true`.
45
47
-`svgClassName` - _Optional_ Class name to be added to the injected SVG DOM element. Defaults to `null`.
@@ -54,6 +56,7 @@ Other non-documented properties are applied to the wrapper element.
0 commit comments