Skip to content

Commit 7dd5c76

Browse files
authored
Merge pull request #131 from matheussll/master
Adding style props to main container.
2 parents 082d8ee + 4deb26c commit 7dd5c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export default class ViewShot extends Component {
259259
render() {
260260
const { children } = this.props;
261261
return (
262-
<View ref={this.onRef} collapsable={false} onLayout={this.onLayout}>
262+
<View ref={this.onRef} collapsable={false} onLayout={this.onLayout} style={this.props.style}>
263263
{children}
264264
</View>
265265
);

0 commit comments

Comments
 (0)