aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/components/navigation
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-11-24 16:03:45 +0000
committerGitHub <noreply@github.com>2024-11-24 16:03:45 +0000
commitfd4a99678cd222941cc66de5d7fcd5f7615f375d (patch)
tree53230b11ef0ee315a8e7574c07b9c1fdbb4834e5 /apps/mobile/components/navigation
parentd32457e84dda26c0ef63eec6125291d14fa37eb4 (diff)
downloadkarakeep-fd4a99678cd222941cc66de5d7fcd5f7615f375d.tar.zst
deps(mobile): Upgrade to Expo 52 (#692)
* fix(mobile): Sharing bookmark modal * WIP: Upgrade to 52 * post ugprade fixes * more fixes * fix padding in tabbar
Diffstat (limited to 'apps/mobile/components/navigation')
-rw-r--r--apps/mobile/components/navigation/tabs.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/mobile/components/navigation/tabs.tsx b/apps/mobile/components/navigation/tabs.tsx
index 976731bc..83b1c6a7 100644
--- a/apps/mobile/components/navigation/tabs.tsx
+++ b/apps/mobile/components/navigation/tabs.tsx
@@ -5,15 +5,18 @@ 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} />;
}
@@ -21,5 +24,5 @@ function StyledTabsImpl({
export const StyledTabs = cssInterop(StyledTabsImpl, {
tabBarClassName: "tabBarStyle",
headerClassName: "headerStyle",
- sceneContainerClassName: "sceneContainerStyle",
+ sceneClassName: "sceneStyle",
});