Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

use navigation in class component react native drawer navigation

`ScreenName` should be defined inside the Stack.Screen to available 
inside navigation

this.props.navigation.push('ScreenName'); // for class Components

props.navigation.navigate.push('ScreenName'); // for functional Components
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #navigation #class #component #react #native #drawer #navigation
ADD COMMENT
Topic
Name
6+3 =