mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 17:03:26 +00:00
21 lines
477 B
TypeScript
21 lines
477 B
TypeScript
import { View } from "tamagui";
|
|
|
|
import { BottomControls } from "./BottomControls";
|
|
import { Header } from "./Header";
|
|
import { MiddleControls } from "./MiddleControls";
|
|
|
|
export const ControlsOverlay = ({ isLoading }: { isLoading: boolean }) => {
|
|
return (
|
|
<View
|
|
width="100%"
|
|
flex={1}
|
|
flexDirection="column"
|
|
justifyContent="space-between"
|
|
>
|
|
<Header />
|
|
{!isLoading && <MiddleControls />}
|
|
<BottomControls />
|
|
</View>
|
|
);
|
|
};
|