Commit 706d2f5d authored by Steven Scaffidi's avatar Steven Scaffidi Committed by GitHub

Updating the animated surface for RN 0.33

This commit https://github.com/facebook/react-native/commit/eb3360b02ab82d20bc3c3f38f543b0d742598346 requires this change.
parent d02889f3
......@@ -55,7 +55,7 @@ module.exports = {
AnimatedSurface: makeSurface({
View: Animated.View,
GLCanvas: Animated.createAnimatedComponent(GLCanvas),
getGLCanvas: glSurface => glSurface.refs.canvas.refs.node,
getGLCanvas: glSurface => glSurface.refs.canvas.refs._component,
dimensionInvariant: (value, field) =>
invariant(
isAnimated(value) || typeof value === "number" && value > 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment