diff --git a/Libraries/Animated/src/AnimatedImplementation.js b/Libraries/Animated/src/AnimatedImplementation.js index b8b3aee77..3039f887b 100644 --- a/Libraries/Animated/src/AnimatedImplementation.js +++ b/Libraries/Animated/src/AnimatedImplementation.js @@ -1094,6 +1094,10 @@ function createAnimatedComponent(Component: any): any { } AnimatedComponent.propTypes = { style: function(props, propName, componentName) { + if (!Component.propTypes) { + return; + } + for (var key in ViewStylePropTypes) { if (!Component.propTypes[key] && props[key] !== undefined) { console.error(