vault-development / react-native-svg-uri

Render SVG images in React Native from an URL or static file
849 stars 334 forks source link

onLoad support #79

Closed gre closed 6 years ago

gre commented 6 years ago

Have you considered adding a hook to the load event, like RN Image component have a onLoad prop?

one usecase is to wait the SVG is loaded before snapshotting it with react-native-view-shot (which I think is the cause of the bug raised by one of the lib user: https://github.com/gre/react-native-view-shot/issues/90 ), we can't automatically know without having a onLoad callback in this lib.

koswarabilly commented 6 years ago

i agree too

pie6k commented 5 years ago

any update about this?

borstessi commented 3 years ago

Like to see this!

lorran-xo commented 2 years ago

Nothing yet?