ソースを参照

Merge pull request #131 from matheussll/master

Adding style props to main container.
Gaëtan Renaudeau 7 年 前
コミット
7dd5c768af
No account linked to committer's email address
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      src/index.js

+ 1
- 1
src/index.js ファイルの表示

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
     );