push(screenName[, props, options])
Arguments
screenName
(string
): The screen identifier of the screen to be pushed.props
(Object
): Props to be passed into the pushed screen.options
(Object
): Options for the navigation transition:options.transitionGroup
(string
): The shared element group ID to use for the shared element transition
Returns
(Promise<NavigationResult>
): A
Example Usage
import Navigator from 'native-navigation';
Navigator.push('ScreenOne', { foo: 'bar' });