Skip to content

Commit 4deb26c

Browse files
author
Matheus Stefanello Luz
committed
Adding style props to main container.
1 parent 082d8ee commit 4deb26c

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)