diff options
author | polwex <polwex@sortug.com> | 2025-07-15 17:20:58 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-07-15 17:20:58 +0700 |
commit | a528bd94a6e8e25010ae26a305550b211df0ddc6 (patch) | |
tree | 887425ddc3160ae023292dfefc49d77c2eb8dcec /components/ui/TabBarBackground.ios.tsx |
Initial commit
Generated by create-expo 3.4.3.
Diffstat (limited to 'components/ui/TabBarBackground.ios.tsx')
-rw-r--r-- | components/ui/TabBarBackground.ios.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/components/ui/TabBarBackground.ios.tsx b/components/ui/TabBarBackground.ios.tsx new file mode 100644 index 0000000..495b2d4 --- /dev/null +++ b/components/ui/TabBarBackground.ios.tsx @@ -0,0 +1,19 @@ +import { useBottomTabBarHeight } from '@react-navigation/bottom-tabs'; +import { BlurView } from 'expo-blur'; +import { StyleSheet } from 'react-native'; + +export default function BlurTabBarBackground() { + return ( + <BlurView + // System chrome material automatically adapts to the system's theme + // and matches the native tab bar appearance on iOS. + tint="systemChromeMaterial" + intensity={100} + style={StyleSheet.absoluteFill} + /> + ); +} + +export function useBottomTabOverflow() { + return useBottomTabBarHeight(); +} |