import { StyleSheet, View } from 'react-native' import { HeaderLogo } from './HeaderLogo' import { SideBarTabItem } from './SideBarTabItem' import { useUniversalWidth } from '../hooks' import { upperSideTabs } from '../navigation-config' import { useSafeAreaInsets, useTheme } from '@/hooks' import { signOut } from '@/store/auth' const NAV_MEDIUM_WIDTH = 244 export function SideBar({ visible }: { visible: boolean }) { const { colors } = useTheme() const { top } = useSafeAreaInsets() const isLarge = useUniversalWidth(1264) return ( {upperSideTabs.map((tab) => ( ))} Logout ) } const jsStyles = StyleSheet.create({ sideBar: { minWidth: 72, width: 72, }, sidebarInner: { alignItems: 'stretch', borderRightWidth: 1, height: '100%', maxHeight: '100%', minWidth: 72, paddingBottom: 20, paddingHorizontal: 12, position: 'absolute', width: 72, }, sidebarInner2: { alignItems: 'stretch', flex: 1, height: '100%', justifyContent: 'space-between', width: '100%', }, sidebarTabs: { flex: 1, gap: 4 }, })