27 lines
618 B
TypeScript
27 lines
618 B
TypeScript
import { Stack } from "expo-router";
|
|
import { StatusBar } from "expo-status-bar";
|
|
import "react-native-reanimated";
|
|
|
|
|
|
import IndexProvider from "@/components/providers/index-provider";
|
|
import "@/global.css";
|
|
|
|
export const unstable_settings = {
|
|
anchor: "(tabs)",
|
|
};
|
|
|
|
export default function RootLayout() {
|
|
return (
|
|
<IndexProvider>
|
|
<Stack>
|
|
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
|
<Stack.Screen
|
|
name="modal"
|
|
options={{ presentation: "modal", title: "Modal" }}
|
|
/>
|
|
</Stack>
|
|
<StatusBar style="auto" />
|
|
</IndexProvider>
|
|
);
|
|
}
|