Skip to content

Commit

Permalink
Update README innerRef setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Sep 19, 2023
1 parent 9986342 commit 0b77b5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ A description for your SVG. It will override an existing `<desc>` tag.
Custom options for the [request](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request).

**innerRef** {React.Ref}
Set a ref in SVGElement.
Set a ref in SVGElement.

>The SVG is processed and parsed so the ref won't be set on the initial render.
You can use the `onLoad` callback to get and use the ref instead.

**loader** {node}
A component to be shown while the SVG is loading.
Expand Down

0 comments on commit 0b77b5a

Please sign in to comment.