Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 704 Bytes

push.md

File metadata and controls

31 lines (18 loc) · 704 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.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