refactor: tweak the types

This commit is contained in:
Satyajit Sahoo
2021-05-01 21:30:57 +02:00
parent f48303f036
commit 83242a7bef
15 changed files with 45 additions and 43 deletions

View File

@@ -20,7 +20,7 @@ import getDefaultHeaderHeight from './Header/getDefaultHeaderHeight';
type Props = {
focused: boolean;
navigation: NavigationProp<ParamListBase>;
route: RouteProp<ParamListBase, string>;
route: RouteProp<ParamListBase>;
header: React.ReactNode;
headerShown?: boolean;
headerStatusBarHeight?: number;