fix: prop validation in app container should include theme as valid

This commit is contained in:
Brent Vatne
2019-08-26 09:47:51 -07:00
parent 64bcdd3c0c
commit 808e7aecaf

View File

@@ -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);