mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:53:24 +00:00
refactor to tamagui
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { View } from "react-native";
|
||||
import { View } from "tamagui";
|
||||
|
||||
import { BottomControls } from "./BottomControls";
|
||||
import { Header } from "./Header";
|
||||
@@ -6,7 +6,12 @@ import { MiddleControls } from "./MiddleControls";
|
||||
|
||||
export const ControlsOverlay = ({ isLoading }: { isLoading: boolean }) => {
|
||||
return (
|
||||
<View className="flex w-full flex-1 flex-col justify-between">
|
||||
<View
|
||||
width="100%"
|
||||
flex={1}
|
||||
flexDirection="column"
|
||||
justifyContent="space-between"
|
||||
>
|
||||
<Header />
|
||||
{!isLoading && <MiddleControls />}
|
||||
<BottomControls />
|
||||
|
Reference in New Issue
Block a user