import React from 'react';
import {StyleSheet} from 'react-native';
import NavBar from './components/navBar';
import MusicBar from '@/components/musicBar';
import {createDrawerNavigator} from '@react-navigation/drawer';
import HomeDrawer from './components/drawer';
import {SafeAreaView} from 'react-native-safe-area-context';
import StatusBar from '@/components/base/statusBar';
import HorizontalSafeAreaView from '@/components/base/horizontalSafeAreaView.tsx';
import globalStyle from '@/constants/globalStyle';
import Theme from '@/core/theme';
import HomeBody from './components/homeBody';
import HomeBodyHorizontal from './components/homeBodyHorizontal';
import useOrientation from '@/hooks/useOrientation';
function Home() {
const orientation = useOrientation();
return (
<>
{orientation === 'vertical' ? (
) : (
)}
>
);
}
function HomeStatusBar() {
const theme = Theme.useTheme();
return (
);
}
// function Body() {
// const orientation = useOrientation();
// return (
//
//
//
// );
// }
const LeftDrawer = createDrawerNavigator();
export default function App() {
return (
}>
);
}
const styles = StyleSheet.create({
appWrapper: {
flexDirection: 'column',
flex: 1,
},
flexRow: {
flexDirection: 'row',
},
});