diff options
Diffstat (limited to 'apps/mobile/components/navigation/tabs.tsx')
| -rw-r--r-- | apps/mobile/components/navigation/tabs.tsx | 5 |
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", }); |
