Skip to content

Commit b409ce2

Browse files
committed
Remove styles as there is default props.
1 parent beb5991 commit b409ce2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var Spinner = React.createClass({
2424
buttonTextColor: PropTypes.string,
2525
disabled: PropTypes.bool,
2626
width: PropTypes.number,
27-
height: PropTypes.number,
27+
height: PropTypes.number
2828
},
2929

3030
getDefaultProps () {

style.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,25 @@ module.exports = React.StyleSheet.create({
44
container: {
55
borderWidth: 0.5,
66
borderRadius: 4,
7-
width: 110,
87
flexDirection: 'row',
98
overflow: 'hidden'
109
},
1110

1211
btn: {
1312
flex: 1,
14-
height: 40,
1513
alignItems: 'center',
1614
justifyContent: 'center',
1715
},
1816

1917
btnText: {
2018
color: 'white',
21-
fontSize: 16,
2219
textAlign: 'center',
2320
},
2421

2522
num: {
2623
flex: 1,
2724
alignItems: 'center',
28-
justifyContent: 'center',
29-
height: 40
25+
justifyContent: 'center'
3026
},
3127

3228
numText: {

0 commit comments

Comments
 (0)