POWR/app/(tabs)/social.tsx

33 lines
957 B
TypeScript
Raw Normal View History

2025-02-09 20:38:38 -05:00
// app/(tabs)/index.tsx (and similar for other tab screens)
import { View } from 'react-native';
import { Text } from '@/components/ui/text';
2025-02-12 12:55:51 -05:00
import { Button } from '@/components/ui/button';
import { Bell } from 'lucide-react-native';
import Header from '@/components/Header';
2025-02-09 20:38:38 -05:00
2025-02-12 12:55:51 -05:00
export default function SocialScreen() {
2025-02-09 20:38:38 -05:00
return (
2025-02-12 12:55:51 -05:00
<View className="flex-1">
<Header
title="Social"
rightElement={
<Button
variant="ghost"
size="icon"
onPress={() => {
// TODO: Open notifications
console.log('Open notifications');
}}
>
{/* Add a notification badge if needed */}
<View className="relative">
<Bell className="text-foreground" />
<View className="absolute -top-1 -right-1 w-2 h-2 bg-primary rounded-full" />
</View>
</Button>
}
/>
2025-02-09 20:38:38 -05:00
</View>
);
2025-02-12 12:55:51 -05:00
}