File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ var Carousel = React.createClass({
83
83
84
84
style = i === this . state . activePage ? { color : this . props . indicatorColor } : { color : this . props . inactiveIndicatorColor } ;
85
85
indicators . push (
86
- < Text
87
- style = { [ style , { fontSize : this . props . indicatorSize } ] }
88
- key = { i }
86
+ < Text
87
+ style = { [ style , { fontSize : this . props . indicatorSize } ] }
88
+ key = { i }
89
89
onPress = { this . indicatorPressed . bind ( this , i ) }
90
90
>
91
91
{ i === this . state . activePage ? this . props . indicatorText : this . props . inactiveIndicatorText }
@@ -154,14 +154,6 @@ var Carousel = React.createClass({
154
154
} ) ;
155
155
156
156
var styles = StyleSheet . create ( {
157
- container : {
158
- justifyContent : 'center'
159
- } ,
160
- page : {
161
- alignItems : 'center' ,
162
- justifyContent : 'center' ,
163
- borderWidth : 1 ,
164
- } ,
165
157
pageIndicator : {
166
158
position : 'absolute' ,
167
159
flexDirection : 'row' ,
You can’t perform that action at this time.
0 commit comments