@@ -14,7 +14,7 @@ import {
1414import * as Animatable from 'react-native-animatable' ;
1515import styles from './styles/SpinnerButtonStyle' ;
1616
17- function getSpinnerBackgroundStyle ( spinnerType , customButtonStyle , defaultButtonStyle , spinnerOptions ) {
17+ function getSpinnerBackgroundStyle ( spinnerType , customButtonStyle , defaultButtonStyle , spinnerOptions ) {
1818 const borderRadius = customButtonStyle . height ? customButtonStyle . height / 2 : defaultButtonStyle . height / 2 ;
1919 let height = customButtonStyle . height ? customButtonStyle . height : defaultButtonStyle . height ;
2020 let width = height ;
@@ -41,8 +41,7 @@ function getSpinnerBackgroundStyle (spinnerType, customButtonStyle, defaultButto
4141 justifyContent : 'center' ,
4242 alignItems : 'center' ,
4343 } ;
44- console . log ( 'customButtonStyle = ' , customButtonStyle )
45- console . log ( 'customSpinnerStyle = ' , customSpinnerStyle )
44+
4645 switch ( spinnerType ) {
4746 case 'BallIndicator' :
4847 return customSpinnerStyle ;
@@ -185,7 +184,7 @@ const SpinnerComponent = (props) => {
185184 />
186185 </ Animatable . View >
187186 </ View >
188- ) ;
187+ ) ;
189188 case 'PacmanIndicator' :
190189 return (
191190 < View style = { { width : width , alignItems : 'center' , justifyContent : 'center' } } >
@@ -210,7 +209,7 @@ const SpinnerComponent = (props) => {
210209 ) ;
211210 case 'SkypeIndicator' :
212211 let minScale = 0.2 ;
213- let maxScale = 1.0 ;
212+ let maxScale = 1.0 ;
214213 if ( spinnerOptions !== undefined && spinnerOptions . minScale !== undefined ) {
215214 minScale = spinnerOptions . minScale ;
216215 }
@@ -225,8 +224,8 @@ const SpinnerComponent = (props) => {
225224 count = { indicatorCount }
226225 // size={height - (10 * spinnerOptions.maxScale)}
227226 size = { height - 10 }
228- // minScale={minScale}
229- // maxScale={maxScale}
227+ // minScale={minScale}
228+ // maxScale={maxScale}
230229 />
231230 </ Animatable . View >
232231 </ View >
0 commit comments