Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: fixed typo in handling-safe-area
  • Loading branch information
stanleyoos committed Aug 8, 2024
commit 83b9970536d0aae2e71521d2ee404edf3aee7701
24 changes: 12 additions & 12 deletions versioned_docs/version-7.x/handling-safe-area.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ function Demo() {

// codeblock-focus-start
const MyTabs = createBottomTabNavigator({
initialRouteName: 'Analitics',
initialRouteName: 'Analytics',
// highlight-start
tabBar: () => null,
screenOptions: {
headerShown: false,
},
// highlight-end
screens: {
Analitics: Demo,
Analytics: Demo,
Profile: Demo,
},
});
Expand Down Expand Up @@ -133,11 +133,11 @@ export default function App() {
<Stack.Screen name="Home">
{() => (
<Tab.Navigator
initialRouteName="Analitics"
initialRouteName="Analytics"
tabBar={() => null}
screenOptions={{ headerShown: false }}
>
<Tab.Screen name="Analitics" component={Demo} />
<Tab.Screen name="Analytics" component={Demo} />
<Tab.Screen name="Profile" component={Demo} />
</Tab.Navigator>
)}
Expand Down Expand Up @@ -195,13 +195,13 @@ function Demo() {
// codeblock-focus-end

const MyTabs = createBottomTabNavigator({
initialRouteName: 'Analitics',
initialRouteName: 'Analytics',
tabBar: () => null,
screenOptions: {
headerShown: false,
},
screens: {
Analitics: Demo,
Analytics: Demo,
Profile: Demo,
},
});
Expand Down Expand Up @@ -285,11 +285,11 @@ export default function App() {
<Stack.Screen name="Home">
{() => (
<Tab.Navigator
initialRouteName="Analitics"
initialRouteName="Analytics"
tabBar={() => null}
screenOptions={{ headerShown: false }}
>
<Tab.Screen name="Analitics" component={Demo} />
<Tab.Screen name="Analytics" component={Demo} />
<Tab.Screen name="Profile" component={Demo} />
</Tab.Navigator>
)}
Expand Down Expand Up @@ -363,13 +363,13 @@ function Demo() {
// codeblock-focus-end

const MyTabs = createBottomTabNavigator({
initialRouteName: 'Analitics',
initialRouteName: 'Analytics',
tabBar: () => null,
screenOptions: {
headerShown: false,
},
screens: {
Analitics: Demo,
Analytics: Demo,
Profile: Demo,
},
});
Expand Down Expand Up @@ -448,11 +448,11 @@ export default function App() {
<Stack.Screen name="Home">
{() => (
<Tab.Navigator
initialRouteName="Analitics"
initialRouteName="Analytics"
tabBar={() => null}
screenOptions={{ headerShown: false }}
>
<Tab.Screen name="Analitics" component={Demo} />
<Tab.Screen name="Analytics" component={Demo} />
<Tab.Screen name="Profile" component={Demo} />
</Tab.Navigator>
)}
Expand Down