mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-06 16:50:13 +08:00
fix: fix type definitions
This commit is contained in:
@@ -124,7 +124,10 @@ const StackWithCustomHeaderBackImage = createStackNavigator(
|
||||
},
|
||||
},
|
||||
{
|
||||
defaultNavigationOptions: ({ theme }: NavigationScreenConfigProps) => ({
|
||||
// TODO: satya164 - use stack's navigation type
|
||||
defaultNavigationOptions: ({
|
||||
theme,
|
||||
}: NavigationScreenConfigProps<any>) => ({
|
||||
headerBackImage: (
|
||||
<MyCustomHeaderBackImage
|
||||
style={[
|
||||
|
||||
Reference in New Issue
Block a user