We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef8e732 commit 1b068bdCopy full SHA for 1b068bd
js/utils.js
@@ -36,16 +36,6 @@ export const childrenWithOverriddenStyle = (
36
],
37
collapsable: false,
38
};
39
- if (
40
- child.type &&
41
- child.type.displayName &&
42
- child.type.displayName !== 'RCTView' &&
43
- child.type.displayName !== 'View'
44
- ) {
45
- console.warn(
46
- 'Each ViewPager child must be a <View>. Was ' + child.type.displayName,
47
- );
48
- }
49
return React.createElement(child.type, newProps);
50
});
51
0 commit comments