weiterer fortschritt mit tamagui und dem neuen mobile event admin
This commit is contained in:
@@ -43,7 +43,14 @@ export function BottomNav({ active, onNavigate }: { active: NavKey; onNavigate:
|
||||
const IconCmp = item.icon;
|
||||
return (
|
||||
<Pressable key={item.key} onPress={() => onNavigate(item.key)}>
|
||||
<YStack alignItems="center" space="$1" position="relative">
|
||||
<YStack
|
||||
alignItems="center"
|
||||
space="$1"
|
||||
position="relative"
|
||||
padding="$2"
|
||||
borderRadius={12}
|
||||
backgroundColor={activeState ? '#e8f1ff' : 'transparent'}
|
||||
>
|
||||
<IconCmp size={20} color={activeState ? String(theme.primary?.val ?? '#007AFF') : '#94a3b8'} />
|
||||
<Text fontSize="$xs" color={activeState ? '$primary' : '#6b7280'}>
|
||||
{item.label}
|
||||
|
||||
Reference in New Issue
Block a user