mirror of
https://github.com/hanzoai/insights-js.git
synced 2026-10-30 18:34:19 +00:00
20 lines
542 B
TypeScript
20 lines
542 B
TypeScript
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()
|
|
}
|