This commit is contained in:
Philip Cesar Garay
2025-08-01 21:05:44 +08:00
parent 84fc719a10
commit e22b87bd49
18 changed files with 500 additions and 14 deletions
+7 -2
View File
@@ -5,7 +5,12 @@ import { Palette, Style } from "../styles";
import ProgressBar from "./ProgressBar";
import { FONT_FAMILY } from "../styles/Fonts";
const MusicLandHeader = ({ onPressBack, onPressSkip, showSkip = false }) => {
const MusicLandHeader = ({
onPressBack,
onPressSkip,
showSkip = false,
progress = 1,
}) => {
return (
<View style={{ alignItems: "center", gap: 16 }}>
<Image source={icons.musicLandLogo} />
@@ -21,7 +26,7 @@ const MusicLandHeader = ({ onPressBack, onPressSkip, showSkip = false }) => {
/>
</Pressable>
<View style={{ flex: 1 }}>
<ProgressBar progress={10} />
<ProgressBar progress={progress} />
</View>
{showSkip && (
<Pressable onPress={onPressSkip}>