Browse Source

Adding style props to main container.

Matheus Stefanello Luz 7 years ago
parent
commit
4deb26c383
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/index.js

+ 1
- 1
src/index.js View File

259
   render() {
259
   render() {
260
     const { children } = this.props;
260
     const { children } = this.props;
261
     return (
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
         {children}
263
         {children}
264
       </View>
264
       </View>
265
     );
265
     );