29 lines
466 B
TypeScript
29 lines
466 B
TypeScript
import React from 'react';
|
|
import { Platform } from 'react-native';
|
|
import { Stack } from 'expo-router';
|
|
|
|
|
|
export default function TabLayout() {
|
|
|
|
return (
|
|
<Stack
|
|
screenOptions={{
|
|
headerShown: false,
|
|
}}
|
|
>
|
|
<Stack.Screen
|
|
name="index"
|
|
options={{
|
|
title: 'Home',
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="scanner"
|
|
options={{
|
|
title: 'Scan',
|
|
}}
|
|
/>
|
|
</Stack>
|
|
);
|
|
}
|