This commit is contained in:
Philip Cesar Garay
2025-07-31 21:25:33 +08:00
parent 5cfbc81e3a
commit 84fc719a10
307 changed files with 46470 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
import { useEffect, useState } from "react";
import { View } from "react-native";
import { mainBorderRadius } from "../styles/Style";
import { Palette } from "../styles";
const ProgressBar = ({ progress = 0, containerStyle = {} }) => {
return (
<View
style={{
width: "100%",
height: 5,
backgroundColor: "#0F0C19",
borderRadius: mainBorderRadius,
overflow: "hidden",
...containerStyle,
}}
>
<View
style={{
width: `${progress}%`,
height: "100%",
backgroundColor: Palette.white,
borderRadius: mainBorderRadius,
}}
/>
</View>
);
};
export default ProgressBar;