project setup

This commit is contained in:
Sone
2025-11-02 10:08:56 +01:00
commit 568838003e
174 changed files with 27100 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { View } from "react-native";
import { useLocalSearchParams } from "expo-router";
import { AdminAccountsTable } from "@/components/features/admins/AdminAccountsTable";
import { useAppSelector } from "@/store/hooks";
import { selectIsMobile } from "@/store/screen/screenSizeSlice";
export const AdminsPage = () => {
const isMobile = useAppSelector(selectIsMobile);
const params = useLocalSearchParams<{ q?: string }>();
const initialSearchQuery = params.q ?? "";
return (
<View className="flex-1 bg-primaryPurpleLight">
<View className={`${isMobile ? "p-1" : "p-5"} flex-1`}>
<AdminAccountsTable initialSearchQuery={initialSearchQuery} />
</View>
</View>
);
};