File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,12 @@ see [ReactNativeComponentDemos][0]
145145import SplashScreen from ' react-native-smart-splash-screen'
146146...
147147componentDidMount () {
148- SplashScreen .close (SplashScreen .animationType .scale , 850 , 500 )
148+ // SplashScreen.close(SplashScreen.animationType.scale, 850, 500)
149+ SplashScreen .close ({
150+ animationType: SplashScreen .animationType .scale ,
151+ duration: 850 ,
152+ delay: 500 ,
153+ })
149154}
150155...
151156
@@ -162,5 +167,5 @@ componentDidMount () {
162167
163168
164169[ 0 ] : https://github.com/cyqresig/ReactNativeComponentDemos
165- [ 1 ] : http://cyqresig.github.io/img/react-native-smart-splash-screen-preview-ios-v1.0 .0.gif
166- [ 2 ] : http://cyqresig.github.io/img/react-native-smart-splash-screen-preview-android-v1.0.3 .gif
170+ [ 1 ] : http://cyqresig.github.io/img/react-native-smart-splash-screen-preview-ios-v2.3 .0.gif
171+ [ 2 ] : http://cyqresig.github.io/img/react-native-smart-splash-screen-preview-android-v2.3.0 .gif
You can’t perform that action at this time.
0 commit comments