16 lines
515 B
TypeScript
16 lines
515 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 + "%"} value={progress} size="lg" />
|
|
</StackCustom>
|
|
</BaseBox>
|
|
)}
|
|
</>
|
|
);
|
|
} |