mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-17 12:19:12 +08:00
Don't pass additional args to requireNativeComponent in .android.js files
Reviewed By: sahrens Differential Revision: D8345921 fbshipit-source-id: 187048ad4c1b361f0b99b993052bdcaf47a266db
This commit is contained in:
committed by
Facebook Github Bot
parent
6b1bb01804
commit
a51e8b19cc
@@ -321,9 +321,6 @@ const styles = StyleSheet.create({
|
||||
});
|
||||
|
||||
// The View that contains both the actual drawer and the main view
|
||||
const AndroidDrawerLayout = requireNativeComponent(
|
||||
'AndroidDrawerLayout',
|
||||
DrawerLayoutAndroid,
|
||||
);
|
||||
const AndroidDrawerLayout = requireNativeComponent('AndroidDrawerLayout');
|
||||
|
||||
module.exports = DrawerLayoutAndroid;
|
||||
|
||||
Reference in New Issue
Block a user