import { TAB_BAR_HEIGHT } from '@/core/constants'; import { useTailwind } from '@/hooks'; import { View } from 'react-native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; interface BottomSpacerProps { type: 'bottomTab' | 'safeArea' | 'halfSafeArea'; } const getHeights = (bottom: number): Record => ({ bottomTab: bottom / 2 + TAB_BAR_HEIGHT, safeArea: bottom, halfSafeArea: bottom / 2, }); export default function BottomSpacer({ type }: BottomSpacerProps) { const tw = useTailwind(); return ; }