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