()
| 145 | }; |
| 146 | |
| 147 | render() { |
| 148 | return ( |
| 149 | <PagerViewNativeComponent |
| 150 | {...this.props} |
| 151 | ref={(ref) => { |
| 152 | this.pagerView = ref; |
| 153 | }} |
| 154 | style={[ |
| 155 | this.props.style, |
| 156 | Platform.OS === 'ios' && this.props.pageMargin |
| 157 | ? { |
| 158 | marginHorizontal: -this.props.pageMargin / 2, |
| 159 | } |
| 160 | : null, |
| 161 | ]} |
| 162 | layoutDirection={this.deducedLayoutDirection} |
| 163 | onPageScroll={this._onPageScroll} |
| 164 | onPageScrollStateChanged={this._onPageScrollStateChanged} |
| 165 | onPageSelected={this._onPageSelected} |
| 166 | onMoveShouldSetResponderCapture={this._onMoveShouldSetResponderCapture} |
| 167 | children={childrenWithOverriddenStyle( |
| 168 | this.props.children, |
| 169 | this.props.pageMargin |
| 170 | )} |
| 171 | /> |
| 172 | ); |
| 173 | } |
| 174 | } |
nothing calls this directly
no test coverage detected