Add: - screens/Invesment/DetailDataPublishSection.tsx - screens/Invesment/BoxProgressSection.tsx - app/(application)/(user)/investment/[id]/(transaction-flow) ## No Issue
16 lines
458 B
TypeScript
16 lines
458 B
TypeScript
import { BaseBox, StackCustom, TextCustom, ProgressCustom } from "@/components";
|
|
|
|
export default function Invesment_BoxProgressSection({status}: {status: string}) {
|
|
return (
|
|
<>
|
|
{status === "publish" && (
|
|
<BaseBox>
|
|
<StackCustom>
|
|
<TextCustom bold>Progress Saham</TextCustom>
|
|
<ProgressCustom value={70} size="lg" />
|
|
</StackCustom>
|
|
</BaseBox>
|
|
)}
|
|
</>
|
|
);
|
|
} |