Explorar el Código

Merge pull request #131 from matheussll/master

Adding style props to main container.
Gaëtan Renaudeau hace 6 años
padre
commit
7dd5c768af
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/index.js

+ 1
- 1
src/index.js Ver fichero

@@ -259,7 +259,7 @@ export default class ViewShot extends Component {
259 259
   render() {
260 260
     const { children } = this.props;
261 261
     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}>
263 263
         {children}
264 264
       </View>
265 265
     );