Initial commit
Generated by create-expo-app 3.4.2.
This commit is contained in:
19
components/ui/TabBarBackground.ios.tsx
Normal file
19
components/ui/TabBarBackground.ios.tsx
Normal file
@@ -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();
|
||||
}
|
Reference in New Issue
Block a user