diff --git a/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js b/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js index d117ceb91..d405a7fd0 100644 --- a/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js +++ b/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js @@ -137,11 +137,6 @@ class NavigationCard extends React.Component { ); } - - static CardStackPanResponder = NavigationCardStackPanResponder; - static CardStackStyleInterpolator = NavigationCardStackStyleInterpolator; - static PagerPanResponder = NavigationPagerPanResponder; - static PagerStyleInterpolator = NavigationPagerStyleInterpolator; } const styles = StyleSheet.create({ @@ -161,4 +156,13 @@ const styles = StyleSheet.create({ NavigationCard = NavigationPointerEventsContainer.create(NavigationCard); +// $FlowFixMe: Figure out how to declare these properties on the container class +NavigationCard.CardStackPanResponder = NavigationCardStackPanResponder; +// $FlowFixMe +NavigationCard.CardStackStyleInterpolator = NavigationCardStackStyleInterpolator; +// $FlowFixMe +NavigationCard.PagerPanResponder = NavigationPagerPanResponder; +// $FlowFixMe +NavigationCard.PagerStyleInterpolator = NavigationPagerStyleInterpolator; + module.exports = NavigationCard;