Commit fe295f6
authored
feat: add onLoad call in SvgWithCssUri component (#2751)
# Summary
This PR fixes: #2735
Previously, the `SvgWithCssUri` component exposed an onLoad prop, but it
was never invoked. This PR ensures that onLoad is called once the remote
SVG has been successfully fetched.
## Test Plan
Pass `onLoad` function to `SvgWithCssUri` component and confirm that the
onLoad callback is called once the SVG has successfully loaded.
## Compatibility
| OS | Implemented |
| ------- | :---------: |
| iOS | ❌ |
| MacOS | ❌ |
| Android | ❌ |
| Web | ✅ |1 parent 7718bc5 commit fe295f6
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
| 853 | + | |
853 | 854 | | |
854 | 855 | | |
855 | 856 | | |
| |||
0 commit comments