POWR/app/(tabs)/history.tsx

32 lines
951 B
TypeScript
Raw Normal View History

// app/(tabs)/social.tsx
2025-02-09 20:38:38 -05:00
import { View } from 'react-native';
import { Text } from '@/components/ui/text';
2025-02-15 14:03:42 -05:00
import { Button } from '@/components/ui/button';
import { Bell } from 'lucide-react-native';
import Header from '@/components/Header';
import { TabScreen } from '@/components/layout/TabScreen';
2025-02-09 20:38:38 -05:00
export default function SocialScreen() {
2025-02-09 20:38:38 -05:00
return (
2025-02-15 14:03:42 -05:00
<TabScreen>
<Header
useLogo={true}
2025-02-15 14:03:42 -05:00
rightElement={
<Button
variant="ghost"
size="icon"
onPress={() => console.log('Open notifications')}
2025-02-15 14:03:42 -05:00
>
<View className="relative">
<Bell className="text-foreground" />
<View className="absolute -top-1 -right-1 w-2 h-2 bg-primary rounded-full" />
</View>
2025-02-15 14:03:42 -05:00
</Button>
}
/>
<View className="flex-1 items-center justify-center">
<Text>Social Screen</Text>
2025-02-15 14:03:42 -05:00
</View>
</TabScreen>
2025-02-09 20:38:38 -05:00
);
}