- Updated App entry point to utilize Expo Router, simplifying the navigation setup. - Removed legacy navigation components and services to streamline the codebase. - Adjusted package.json to reflect the new entry point and updated dependencies for compatibility. - Enhanced overall application structure by consolidating navigation logic and improving maintainability.
18 lines
388 B
TypeScript
18 lines
388 B
TypeScript
import { Stack } from 'expo-router';
|
|
|
|
export default function ScheduleStackLayout() {
|
|
return (
|
|
<Stack screenOptions={{ headerShown: false }}>
|
|
<Stack.Screen name="index" />
|
|
<Stack.Screen
|
|
name="course"
|
|
options={{
|
|
headerShown: false,
|
|
presentation: 'transparentModal',
|
|
animation: 'fade',
|
|
}}
|
|
/>
|
|
</Stack>
|
|
);
|
|
}
|