aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/components/navigation
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2026-02-01 18:16:22 +0000
committerMohamed Bassem <me@mbassem.com>2026-02-01 18:31:18 +0000
commitbf5c99cb10a0b35b0101bf8f9858c176889a0284 (patch)
tree9f9181bac6218e5614ebf19c11fdd1d197147206 /apps/mobile/components/navigation
parentfc24cc3a14e7e2d853702a51204835d30ffca253 (diff)
downloadkarakeep-bf5c99cb10a0b35b0101bf8f9858c176889a0284.tar.zst
feat(mobile): use native tabs for mobile
Diffstat (limited to 'apps/mobile/components/navigation')
-rw-r--r--apps/mobile/components/navigation/tabs.tsx28
1 files changed, 0 insertions, 28 deletions
diff --git a/apps/mobile/components/navigation/tabs.tsx b/apps/mobile/components/navigation/tabs.tsx
deleted file mode 100644
index 83b1c6a7..00000000
--- a/apps/mobile/components/navigation/tabs.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import { ViewStyle } from "react-native";
-import { Tabs } from "expo-router";
-import { cssInterop } from "nativewind";
-
-function StyledTabsImpl({
- tabBarStyle,
- headerStyle,
- sceneStyle,
- ...props
-}: React.ComponentProps<typeof Tabs> & {
- tabBarStyle?: ViewStyle;
- headerStyle?: ViewStyle;
- sceneStyle?: ViewStyle;
-}) {
- props.screenOptions = {
- ...props.screenOptions,
- tabBarStyle,
- headerStyle,
- sceneStyle,
- };
- return <Tabs {...props} />;
-}
-
-export const StyledTabs = cssInterop(StyledTabsImpl, {
- tabBarClassName: "tabBarStyle",
- headerClassName: "headerStyle",
- sceneClassName: "sceneStyle",
-});