@@ -20,42 +20,42 @@ import { StyleSheet, View, Text, Modal, ActivityIndicator } from 'react-native';
2020
2121const  transparent  =  'transparent' ; 
2222const  styles  =  StyleSheet . create ( { 
23-  container : { 
24-  flex : 1 , 
25-  backgroundColor : transparent , 
26-  position : 'absolute' , 
27-  top : 0 , 
28-  bottom : 0 , 
29-  left : 0 , 
30-  right : 0 
23+  activityIndicator : { 
24+  flex : 1 
3125 } , 
3226 background : { 
27+  alignItems : 'center' , 
28+  bottom : 0 , 
29+  justifyContent : 'center' , 
30+  left : 0 , 
3331 position : 'absolute' , 
34-  top : 0 , 
32+  right : 0 , 
33+  top : 0 
34+  } , 
35+  container : { 
36+  backgroundColor : transparent , 
3537 bottom : 0 , 
38+  flex : 1 , 
3639 left : 0 , 
40+  position : 'absolute' , 
3741 right : 0 , 
38-  justifyContent : 'center' , 
39-  alignItems : 'center' 
42+  top : 0 
4043 } , 
4144 textContainer : { 
42-  flex : 1 , 
43-  top : 0 , 
45+  alignItems : 'center' , 
4446 bottom : 0 , 
47+  flex : 1 , 
48+  justifyContent : 'center' , 
4549 left : 0 , 
50+  position : 'absolute' , 
4651 right : 0 , 
47-  justifyContent : 'center' , 
48-  alignItems : 'center' , 
49-  position : 'absolute' 
52+  top : 0 
5053 } , 
5154 textContent : { 
52-  top : 80 , 
53-  height : 50 , 
5455 fontSize : 20 , 
55-  fontWeight : 'bold' 
56-  } , 
57-  activityIndicator : { 
58-  flex : 1 
56+  fontWeight : 'bold' , 
57+  height : 50 , 
58+  top : 80 
5959 } 
6060} ) ; 
6161
@@ -139,7 +139,11 @@ export default class Spinner extends React.PureComponent {
139139 const  spinner  =  ( 
140140 < View 
141141 style = { [ styles . container ,  {  backgroundColor : this . props . overlayColor  } ] } 
142-  key = { this . props . spinnerKey  ? this . props . spinnerKey  : `spinner_${ Date . now ( ) }  } 
142+  key = { 
143+  this . props . spinnerKey 
144+  ? this . props . spinnerKey 
145+  : `spinner_${ Date . now ( ) }  
146+  } 
143147 > 
144148 { this . props . children 
145149 ? this . props . children 
0 commit comments