mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-08 17:23:01 +08:00
fix: fix wrong option name for backImage
This commit is contained in:
@@ -90,7 +90,7 @@ const validations: Validation[] = [
|
||||
updated: 'headerTitle: () => <SomeElement />',
|
||||
compat: o => ({ ...o, headerTitle: () => o.headerTitle }),
|
||||
},
|
||||
...['headerLeft', 'headerRight', 'headerBackground', 'backImage'].map(
|
||||
...['headerLeft', 'headerRight', 'headerBackground', 'headerBackImage'].map(
|
||||
(p): Validation => ({
|
||||
check: (o: any) => o[p] !== undefined && typeof o[p] !== 'function',
|
||||
deprecated: `${p}: <SomeElement />`,
|
||||
|
||||
Reference in New Issue
Block a user