msand / zoomable-svg

Pinch to pan-n-zoom react-native-svg components using a render prop.
38 stars 14 forks source link

Example doesn't seem to work #1

Closed sentry0 closed 6 years ago

sentry0 commented 6 years ago

I'm really interested in using this lib but I can''t seem to get the example working using Expo or in my own app.

The Expo viewer on the web or my phone just crashes and my app is throwing the following error: undefined is not an object (evaluating 'Component.propTypes')

This tracks back to line 10 which is: const AnimatedRect = Animated.createAnimatedComponent(Rect);

Thoughts?

msand commented 6 years ago

Seems I had used the example to try and fix another issue for someone, not noticing it got saved on the example url. Can you try again? Works on android for me at least.

SaeedZhiany commented 4 years ago

@msand

I just check it right now, it does not work, it shows an error message that says undefined is not an Object evaluating (_expo.Svg.G)