Skip to content

Commit

Permalink
Revert "Add subviewStyle prop to NavigationHeader"
Browse files Browse the repository at this point in the history
Summary:
This reverts commit 1dc82a9.

Breaks OSS tests
Closes #7232

Differential Revision: D3223972

Pulled By: bestander

fb-gh-sync-id: fea7ec4a1c13d328a7bbda9fcd3f201a7007081e
fbshipit-source-id: fea7ec4a1c13d328a7bbda9fcd3f201a7007081e
  • Loading branch information
bestander authored and Facebook Github Bot 1 committed Apr 26, 2016
1 parent c1aff6b commit 2eef115
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ type Props = NavigationSceneRendererProps & {
renderRightComponent: NavigationSceneRenderer,
renderTitleComponent: NavigationSceneRenderer,
style?: any;
subviewStyle?: any;
viewProps?: any;
};

Expand Down Expand Up @@ -101,7 +100,6 @@ class NavigationHeader extends React.Component<DefaultProps, Props, any> {
renderRightComponent: PropTypes.func,
renderTitleComponent: PropTypes.func,
style: View.propTypes.style,
subviewStyle: View.propTypes.style,
viewProps: PropTypes.shape(View.propTypes),
};

Expand Down Expand Up @@ -188,7 +186,6 @@ class NavigationHeader extends React.Component<DefaultProps, Props, any> {
return null;
}

const { subviewStyle } = this.props;
const pointerEvents = offset !== 0 || isStale ? 'none' : 'box-none';
return (
<Animated.View
Expand All @@ -197,7 +194,6 @@ class NavigationHeader extends React.Component<DefaultProps, Props, any> {
style={[
styles[name],
styleInterpolator(props),
subviewStyle[name],
]}>
{subView}
</Animated.View>
Expand Down

0 comments on commit 2eef115

Please sign in to comment.