mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 13:26:41 +02:00
Projects included: - maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing) - manacore (Expo mobile + SvelteKit web + Astro landing) - manadeck (NestJS backend + Expo mobile + SvelteKit web) - memoro (Expo mobile + SvelteKit web + Astro landing) This commit preserves the current state before monorepo restructuring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
1.1 KiB
TypeScript
34 lines
1.1 KiB
TypeScript
import { NativeTabs, Icon, Label } from 'expo-router/unstable-native-tabs';
|
|
import { Platform } from 'react-native';
|
|
|
|
export default function TabLayout() {
|
|
return (
|
|
<NativeTabs minimizeBehavior="automatic">
|
|
<NativeTabs.Trigger name="decks">
|
|
<Label>Decks</Label>
|
|
<Icon
|
|
sf={{ default: 'square.stack.3d.up', selected: 'square.stack.3d.up.fill' }}
|
|
drawable="ic_albums"
|
|
/>
|
|
</NativeTabs.Trigger>
|
|
|
|
<NativeTabs.Trigger name="explore">
|
|
<Label>Entdecken</Label>
|
|
<Icon sf={{ default: 'safari', selected: 'safari.fill' }} drawable="ic_explore" />
|
|
</NativeTabs.Trigger>
|
|
|
|
<NativeTabs.Trigger name="progress">
|
|
<Label>Fortschritt</Label>
|
|
<Icon
|
|
sf={{ default: 'chart.line.uptrend.xyaxis', selected: 'chart.line.uptrend.xyaxis' }}
|
|
drawable="ic_trending_up"
|
|
/>
|
|
</NativeTabs.Trigger>
|
|
|
|
<NativeTabs.Trigger name="profile">
|
|
<Label>Profil</Label>
|
|
<Icon sf={{ default: 'person', selected: 'person.fill' }} drawable="ic_person" />
|
|
</NativeTabs.Trigger>
|
|
</NativeTabs>
|
|
);
|
|
}
|