Skip to content

Commit

Permalink
Passing props down to React Native View component
Browse files Browse the repository at this point in the history
  • Loading branch information
i6mi6 committed Oct 5, 2017
1 parent c847f1d commit 8fa1f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion View.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class View extends React.Component {
render() {
const { bg } = this.props
return (
<RNView style={[{
<RNView {...this.props} style={[{
backgroundColor: bg,
...this.getBorderStyle(),
...this.getItemsAlignment(),
Expand Down

0 comments on commit 8fa1f2a

Please sign in to comment.