memowake-front/components/ui/TabBarBackground.tsx

12 lines
316 B
TypeScript

import React from 'react';
import { View } from 'react-native';
// This is a shim for web and Android where the tab bar is generally opaque.
export default function TabBarBackground() {
return <View style={{ flex: 1, backgroundColor: 'transparent' }} />;
}
export function useBottomTabOverflow() {
return 0;
}