Add: - screens/Invesment/BoxBerandaSection.tsx Fix: - app/(application)/(user)/investment/(tabs)/index.tsx - screens/Donation/BoxPublish.tsx - screens/Invesment/BoxProgressSection.tsx - screens/Invesment/DetailDataPublishSection.tsx ### No Issue
16 lines
527 B
TypeScript
16 lines
527 B
TypeScript
import { BaseBox, StackCustom, TextCustom, ProgressCustom } from "@/components";
|
|
|
|
export default function Invesment_BoxProgressSection({progress, status}: {progress: number, status: string}) {
|
|
return (
|
|
<>
|
|
{status === "publish" && (
|
|
<BaseBox>
|
|
<StackCustom>
|
|
<TextCustom bold>Progress Saham</TextCustom>
|
|
<ProgressCustom label={(progress || 0) + "%"} value={progress || 0} size="lg" />
|
|
</StackCustom>
|
|
</BaseBox>
|
|
)}
|
|
</>
|
|
);
|
|
} |