mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-28 20:35:19 +08:00
fix: prop validation in app container should include theme as valid
This commit is contained in:
@@ -148,7 +148,7 @@ export default function createNavigationContainer(Component) {
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const { navigation, screenProps, ...containerProps } = props;
|
||||
const { navigation, screenProps, theme, ...containerProps } = props;
|
||||
|
||||
const keys = Object.keys(containerProps);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user