Removes duplicate NavigationInjectedProps export (#5828)

This commit is contained in:
mlodato517
2019-04-18 21:13:18 -04:00
committed by Brent Vatne
parent cd22810be6
commit 5e07cd2601

View File

@@ -1391,10 +1391,6 @@ declare module 'react-navigation' {
navigation: NavigationScreenProp<NavigationRoute<P>, P>;
}
export interface NavigationInjectedProps<P = NavigationParams> {
navigation: NavigationScreenProp<NavigationRoute<P>, P>;
}
// If the wrapped component is a class, we can get a ref to it
export function withNavigation<
P extends NavigationInjectedProps,