diff --git a/src/Customize/res/arrow@2x.png b/src/Customize/res/arrow.png similarity index 100% rename from src/Customize/res/arrow@2x.png rename to src/Customize/res/arrow.png diff --git a/src/SpringScrollViewNative.js b/src/SpringScrollViewNative.js index b81cd8c..40359fd 100644 --- a/src/SpringScrollViewNative.js +++ b/src/SpringScrollViewNative.js @@ -17,13 +17,12 @@ import React from "react"; import { Animated, Platform, requireNativeComponent, View } from "react-native"; -const SpringScrollViewNative = Animated.createAnimatedComponent( - requireNativeComponent("SpringScrollView") -); - export class SpringScrollViewNativeAdapter extends React.Component { _scrollViewRef; render() { + const SpringScrollViewNative = Animated.createAnimatedComponent( + requireNativeComponent("SpringScrollView") + ); return (