diff options
Diffstat (limited to 'apps/mobile/components')
| -rw-r--r-- | apps/mobile/components/navigation/tabs.tsx | 5 | ||||
| -rw-r--r-- | apps/mobile/components/ui/Toast.tsx | 2 |
2 files changed, 5 insertions, 2 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", }); diff --git a/apps/mobile/components/ui/Toast.tsx b/apps/mobile/components/ui/Toast.tsx index 9aa25e5c..7bd2e64d 100644 --- a/apps/mobile/components/ui/Toast.tsx +++ b/apps/mobile/components/ui/Toast.tsx @@ -52,7 +52,7 @@ function Toast({ <Animated.View className={` ${toastVariants[variant]} - m-2 mb-1 transform rounded-lg p-4 shadow-md transition-all + m-2 mb-1 transform rounded-lg p-4 transition-all `} style={{ opacity, |
