fitst commit
This commit is contained in:
21
app/(dashboard)/announcements.tsx
Normal file
21
app/(dashboard)/announcements.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { useTheme } from '@/components/ThemeContext';
|
||||
import { FilterProvider } from '@/components/ui/FilterContext';
|
||||
import { CustomHeader } from '@/components/ui/Header';
|
||||
import DashboardScreen from '@/screens/announcements/ui/AnnouncementsList';
|
||||
import { Stack } from 'expo-router';
|
||||
import { SafeAreaView } from 'react-native-safe-area-context';
|
||||
|
||||
export default function Announcements() {
|
||||
const { isDark } = useTheme();
|
||||
return (
|
||||
<FilterProvider>
|
||||
<SafeAreaView
|
||||
style={{ flex: 1, backgroundColor: isDark ? '#0f172a' : '#ffffff', paddingBottom: 50 }}
|
||||
>
|
||||
<CustomHeader />
|
||||
<Stack.Screen options={{ title: "E'lonlar" }} />
|
||||
<DashboardScreen />
|
||||
</SafeAreaView>
|
||||
</FilterProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user