Improve layout, add current time and duration

This commit is contained in:
Jorrin
2024-02-13 21:13:48 +01:00
parent 0a98e86de1
commit 378b16b3e4
7 changed files with 118 additions and 49 deletions

View File

@@ -0,0 +1,20 @@
import { View } from "react-native";
import type { HeaderData } from "./Header";
import { BottomControls } from "./BottomControls";
import { Header } from "./Header";
import { MiddleControls } from "./MiddleControls";
interface ControlsOverlayProps {
headerData: HeaderData;
}
export const ControlsOverlay = ({ headerData }: ControlsOverlayProps) => {
return (
<View className="absolute left-0 top-0 flex h-full w-full flex-1">
<Header data={headerData} />
<MiddleControls />
<BottomControls />
</View>
);
};