Skip to content

Commit c78b444

Browse files
authored
Merge pull request #3 from felipemartim/fix-ios
fixing ios props
2 parents 5c0f296 + a8097e7 commit c78b444

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Button.ios.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ import {
77
class Button extends Component{
88
render(){
99
return(
10-
<TouchableOpacity {...props}>
11-
<View style={this.props.style}>
12-
{props.children}
13-
</View>
10+
<TouchableOpacity {...this.props}>
11+
{this.props.children}
1412
</TouchableOpacity>
1513
)
1614
}

0 commit comments

Comments
 (0)