Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 824 Bytes

push.md

File metadata and controls

31 lines (18 loc) · 824 Bytes

push(screenName[, props, options])

Arguments

  1. screenName (string): The screen identifier of the screen to be pushed.
  2. props (Object): Props to be passed into the pushed screen.
  3. options (Object): Options for the navigation transition:
  • options.prefersBottomBarHidden (boolean): Toggles visibility of bottom bar(/tab bar) when pushing/popping screens
  • 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' });

Related Guides

Types