Invesment
Add: - screens/Invesment/ComponentBoxOnBottomDetail.tsx - screens/Invesment/ButtonInvestasiSection.tsx - app/(application)/(user)/investment/[id]/investor.tsx - app/(application)/(user)/investment/[id]/(news)/list-of-news.tsx Fix: - screens/Invesment/BoxDetailDataSection.tsx - app/(application)/(user)/investment/[id]/[status]/detail.tsx - app/(application)/(user)/_layout.tsx ## No Issue
This commit is contained in:
17
screens/Invesment/ButtonInvestasiSection.tsx
Normal file
17
screens/Invesment/ButtonInvestasiSection.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { ButtonCustom } from "@/components";
|
||||
|
||||
export default function Investment_ButtonInvestasiSection({
|
||||
isMine,
|
||||
}: {
|
||||
isMine: boolean;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
{isMine ? (
|
||||
<ButtonCustom>Beli Saham</ButtonCustom>
|
||||
) : (
|
||||
<ButtonCustom disabled>Investasi Ini Milik Anda</ButtonCustom>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user