erp-core/mobile/app/(tabs)/_layout.tsx
rckrdmrd 0086695b4c
Some checks failed
ERP Core CI / Backend Lint (push) Has been cancelled
ERP Core CI / Backend Unit Tests (push) Has been cancelled
ERP Core CI / Backend Integration Tests (push) Has been cancelled
ERP Core CI / Frontend Lint (push) Has been cancelled
ERP Core CI / Frontend Unit Tests (push) Has been cancelled
ERP Core CI / Frontend E2E Tests (push) Has been cancelled
ERP Core CI / Database DDL Validation (push) Has been cancelled
ERP Core CI / Backend Build (push) Has been cancelled
ERP Core CI / Frontend Build (push) Has been cancelled
ERP Core CI / CI Success (push) Has been cancelled
Performance Tests / Lighthouse CI (push) Has been cancelled
Performance Tests / Bundle Size Analysis (push) Has been cancelled
Performance Tests / k6 Load Tests (push) Has been cancelled
Performance Tests / Performance Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0 + cambios backend
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones en modulos CRM y OpenAPI

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:05 -06:00

99 lines
2.4 KiB
TypeScript

/**
* Tabs Layout
*
* Main navigation tabs for authenticated users
*/
import { Tabs } from 'expo-router';
import { Ionicons } from '@expo/vector-icons';
export default function TabsLayout() {
return (
<Tabs
screenOptions={{
tabBarActiveTintColor: '#1e40af',
tabBarInactiveTintColor: '#9ca3af',
tabBarStyle: {
backgroundColor: '#ffffff',
borderTopColor: '#e5e7eb',
paddingBottom: 8,
paddingTop: 8,
height: 60,
},
tabBarLabelStyle: {
fontSize: 12,
fontWeight: '500',
},
headerStyle: {
backgroundColor: '#1e40af',
},
headerTintColor: '#ffffff',
headerTitleStyle: {
fontWeight: '600',
},
}}
>
<Tabs.Screen
name="index"
options={{
title: 'Inicio',
headerTitle: 'ERP Generic',
tabBarIcon: ({ color, size }) => (
<Ionicons name="home-outline" size={size} color={color} />
),
}}
/>
<Tabs.Screen
name="partners"
options={{
title: 'Contactos',
headerTitle: 'Contactos',
tabBarIcon: ({ color, size }) => (
<Ionicons name="people-outline" size={size} color={color} />
),
}}
/>
<Tabs.Screen
name="scanner"
options={{
title: 'Escáner',
headerShown: false,
tabBarIcon: ({ color, size }) => (
<Ionicons name="scan-outline" size={size} color={color} />
),
}}
/>
<Tabs.Screen
name="products"
options={{
title: 'Productos',
headerTitle: 'Productos',
tabBarIcon: ({ color, size }) => (
<Ionicons name="cube-outline" size={size} color={color} />
),
}}
/>
<Tabs.Screen
name="invoices"
options={{
title: 'Facturas',
headerTitle: 'Facturas',
tabBarIcon: ({ color, size }) => (
<Ionicons name="document-text-outline" size={size} color={color} />
),
}}
/>
<Tabs.Screen
name="settings"
options={{
title: 'Ajustes',
headerTitle: 'Ajustes',
tabBarIcon: ({ color, size }) => (
<Ionicons name="settings-outline" size={size} color={color} />
),
}}
/>
</Tabs>
);
}