Commit a2e5ecf3 authored by Steven Scaffidi's avatar Steven Scaffidi Committed by GitHub

Update index.js

parent 706d2f5d
......@@ -55,7 +55,7 @@ module.exports = {
AnimatedSurface: makeSurface({
View: Animated.View,
GLCanvas: Animated.createAnimatedComponent(GLCanvas),
getGLCanvas: glSurface => glSurface.refs.canvas.refs._component,
getGLCanvas: glSurface => glSurface.refs.canvas._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