File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-animated-loader" ,
3
- "version" : " 0.0.8 " ,
3
+ "version" : " 0.0.9 " ,
4
4
"description" : " Useful to show lottie animation spinners in react-native mobile apps" ,
5
5
"main" : " src/index.js" ,
6
6
"files" : [
Original file line number Diff line number Diff line change @@ -63,7 +63,9 @@ export default class Loader extends React.Component {
63
63
source= {require (" ./loader.json" )}
64
64
animationStyle= {styles .lottie }
65
65
speed= {1 }
66
- / >
66
+ >
67
+ < Text > Doing something... < / Text >
68
+ < / AnimatedLoader>
67
69
);
68
70
}
69
71
}
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ export default class AnimatedLoader extends React.PureComponent {
67
67
>
68
68
< View style = { [ styles . container , { backgroundColor : overlayColor } ] } >
69
69
< View > { this . _renderLottie ( ) } </ View >
70
+ { this . props . children }
70
71
</ View >
71
72
</ Modal >
72
73
) ;
You can’t perform that action at this time.
0 commit comments