Skip to content

Commit 22db60a

Browse files
committed
update example
1 parent 28e0103 commit 22db60a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Example/App.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
View,
1313
ScrollView,
1414
Animated,
15+
Easing
1516
} from 'react-native';
1617
import {SmartRefreshControl, AnyHeader} from 'react-native-smartrefreshlayout';
1718
import Icon from 'react-native-vector-icons/Ionicons'
@@ -69,6 +70,7 @@ export default class App extends Component<Props> {
6970
toValue:0,
7071
duration:197,
7172
useNativeDriver:true,
73+
easing:Easing.linear()
7274
}).start()
7375
}
7476
}
@@ -87,6 +89,7 @@ export default class App extends Component<Props> {
8789
toValue:1,
8890
duration:197,
8991
useNativeDriver:true,
92+
easing:Easing.linear()
9093
}).start()
9194
}}
9295
headerHeight={100}

0 commit comments

Comments
 (0)