无法打开抽屉导航
TypeError: undefined is not a function (near '..._reactNative.default.createElement...')
This error is located at:
in contentComponent (at DrawerSidebar.js:55)
in RCTView (at View.js:45)
in View (at DrawerSidebar.js:54)
in DrawerSidebar (at DrawerView.js:123)
in RCTView (at View.js:45)
in View (at DrawerLayout.js:464)
in RCTView (at View.js:45)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at DrawerLayout.js:459)
in RCTView (at View.js:45)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at DrawerLayout.js:445)
in PanGestureHandler (at DrawerLayout.js:501)
in DrawerLayout (at DrawerView.js:165)
in DrawerView (at createNavigator.js:61)
in Navigator (at createAppContainer.js:429)
in NavigationContainer (at ShareFragment.js:14)
in RCTView (at View.js:45)
in View (at ShareFragment.js:12)
in ShareFragment (at SceneView.js:9)
in SceneView (at createTabNavigator.js:39)
in RCTView (at View.js:45)
in View (at ResourceSavingScene.js:37)
in RCTView (at View.js:45)
in View (at ResourceSavingScene.js:26)
in ResourceSavingScene (at createBottomTabNavigator.js:121)
in RCTView (at View.js:45)
in View (at screens.native.js:83)
in ScreenContainer (at createBottomTabNavigator.js:111)
in RCTView (at View.js:45)
in View (at createBottomTabNavigator.js:110)
in TabNavigationView (at createTabNavigator.js:197)
in NavigationView (at createNavigator.js:61)
in Navigator (at SceneView.js:9)
in SceneView (at StackViewLayout.tsx:888)
in RCTView (at View.js:45)
in View (at StackViewLayout.tsx:887)
in RCTView (at View.js:45)
in View (at StackViewLayout.tsx:886)
in RCTView (at View.js:45)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at StackViewCard.tsx:93)
in RCTView (at View.js:45)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at screens.native.js:59)
in Screen (at StackViewCard.tsx:80)
in Card (at createPointerEventsContainer.tsx:95)
in Container (at StackViewLayout.tsx:971)
in RCTView (at View.js:45)
in View (at screens.native.js:83)
in ScreenContainer (at StackViewLayout.tsx:383)
in RCTView (at View.js:45)
in View (at createAnimatedComponent.js:151)
in AnimatedComponent (at StackViewLayout.tsx:379)
in PanGestureHandler (at StackViewLayout.tsx:372)
in StackViewLayout (at withOrientation.js:30)
in withOrientation (at StackView.tsx:103)
in RCTView (at View.js:45)
in View (at Transitioner.tsx:267)
in Transitioner (at StackView.tsx:40)
in StackView (at createNavigator.js:61)
in Navigator (at createKeyboardAwareNavigator.js:12)
in KeyboardAwareNavigator (at createAppContainer.js:429)
in NavigationContainer (at App.js:13)
in Provider (at App.js:12)
in App (at renderApplication.js:35)
in RCTView (at View.js:45)
in View (at AppContainer.js:98)
in RCTView (at View.js:45)
in View (at AppContainer.js:115)
in AppContainer (at renderApplication.js:34)
contentComponent
index.delta?platform=android&dev=true&minify=false:116688:44
renderWithHooks
index.delta?platform=android&dev=true&minify=false:14602:33
mountIndeterminateComponent
index.delta?platform=android&dev=true&minify=false:16403:34
performUnitOfWork
index.delta?platform=android&dev=true&minify=false:20299:27
workLoop
index.delta?platform=android&dev=true&minify=false:20333:47
renderRoot
index.delta?platform=android&dev=true&minify=false:20399:21
performWorkOnRoot
index.delta?platform=android&dev=true&minify=false:21137:23
performWork
index.delta?platform=android&dev=true&minify=false:21064:30
performSyncWork
index.delta?platform=android&dev=true&minify=false:21040:20
batchedUpdates$1
index.delta?platform=android&dev=true&minify=false:21225:28
batchedUpdates
index.delta?platform=android&dev=true&minify=false:9956:37
_receiveRootNodeIDEvent
index.delta?platform=android&dev=true&minify=false:10013:23
receiveTouches
index.delta?platform=android&dev=true&minify=false:10043:34
__callFunction
index.delta?platform=android&dev=true&minify=false:2584:49
<unknown>
index.delta?platform=android&dev=true&minify=false:2341:31
__guard
index.delta?platform=android&dev=true&minify=false:2538:15
callFunctionReturnFlushedQueue
index.delta?platform=android&dev=true&minify=false:2340:21
callFunctionReturnFlushedQueue
[native code]