From e5e490b6fc496558de66a0613e17ec7d7888ffc3 Mon Sep 17 00:00:00 2001 From: stanleyoos Date: Wed, 7 Aug 2024 15:06:52 +0200 Subject: [PATCH 1/3] docs: Fixed swapped button titles --- static/examples/5.x/stack-actions.js | 8 +++--- static/examples/6.x/stack-actions.js | 8 +++--- static/examples/7.x/stack-actions.js | 8 +++--- versioned_docs/version-7.x/stack-actions.md | 32 ++++++++++----------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/static/examples/5.x/stack-actions.js b/static/examples/5.x/stack-actions.js index d0323202a3a..fca2fcccb8a 100755 --- a/static/examples/5.x/stack-actions.js +++ b/static/examples/5.x/stack-actions.js @@ -1,7 +1,7 @@ -import * as React from 'react'; -import { View, Button, Text } from 'react-native'; import { NavigationContainer, StackActions } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; +import * as React from 'react'; +import { Button, Text, View } from 'react-native'; function HomeScreen({ navigation }) { return ( @@ -31,11 +31,11 @@ function ProfileScreen({ navigation, route }) { Profile! {route.params.user}'s profile