How to use the @react-navigation/stack.TransitionPresets.ModalPresentationIOS function in @react-navigation/stack

To help you get started, we’ve selected a few @react-navigation/stack examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github react-navigation / navigation-ex / example / src / Screens / ModalPresentationStack.tsx View on Github external
export default function SimpleStackScreen({ navigation, options }: Props) {
  navigation.setOptions({
    headerShown: false,
  });

  return (
    
       ({
          title: `Article by ${route.params.author}`,
        })}
        initialParams={{ author: 'Gandalf' }}
      />

@react-navigation/stack

Stack navigator component for iOS and Android with animated transitions and gestures

MIT
Latest version published 3 months ago

Package Health Score

98 / 100
Full package analysis