diff --git a/Libraries/Animated/src/AnimatedImplementation.js b/Libraries/Animated/src/AnimatedImplementation.js index 27b1121cbed..c9e61113168 100644 --- a/Libraries/Animated/src/AnimatedImplementation.js +++ b/Libraries/Animated/src/AnimatedImplementation.js @@ -1672,6 +1672,12 @@ function createAnimatedComponent(Component: any): any { _setComponentRef(c) { this._component = c; } + + // A third party library can use getNode() + // to get the node reference of the decorated component + getNode () { + return this._component; + } } AnimatedComponent.propTypes = { style: function(props, propName, componentName) {