import { Stack } from 'expo-router';

export default function Layout() {
  return (
    <Stack screenOptions={{ headerShown: false }}>
      <Stack.Screen name="index" options={{ title: 'Products' }} />
      <Stack.Screen name="add" options={{ title: 'Add Product' }} />
      <Stack.Screen name="edit" options={{ title: 'Edit Product' }} />
      <Stack.Screen name="detail/[id]" options={{ title: 'Product Detail' }} />
    </Stack>
  );
}