Skip to content

Commit 8fa1f2a

Browse files
committed
Passing props down to React Native View component
1 parent c847f1d commit 8fa1f2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

View.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class View extends React.Component {
118118
render() {
119119
const { bg } = this.props
120120
return (
121-
<RNView style={[{
121+
<RNView {...this.props} style={[{
122122
backgroundColor: bg,
123123
...this.getBorderStyle(),
124124
...this.getItemsAlignment(),

0 commit comments

Comments
 (0)