Invesment
Add: - app/(application)/(user)/investment/[id]/[file]/ - app/(application)/(user)/investment/[id]/add-document.tsx - app/(application)/(user)/investment/[id]/edit-document.tsx - app/(application)/(user)/investment/[id]/edit-prospectus.tsx - app/(application)/(user)/investment/[id]/recap-of-document.tsx Fix: - app/(application)/(user)/investment/[id]/list-of-document.tsx - app/(application)/(user)/investment/[id]/edit.tsx - app/(application)/(user)/investment/[id]/[status]/detail.tsx ## No Issue
This commit is contained in:
28
screens/Invesment/Document/RecapBoxDetail.tsx
Normal file
28
screens/Invesment/Document/RecapBoxDetail.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { BaseBox, Grid, TextCustom } from "@/components";
|
||||
import { Href } from "expo-router";
|
||||
|
||||
export default function Investment_BoxDetailDocument({
|
||||
title,
|
||||
leftIcon,
|
||||
href,
|
||||
}: {
|
||||
title: string;
|
||||
leftIcon?: React.ReactNode;
|
||||
href?: Href;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<BaseBox href={href}>
|
||||
<Grid>
|
||||
<Grid.Col span={leftIcon ? 10 : 12}>
|
||||
<TextCustom truncate>
|
||||
{title ||
|
||||
`Judul Dokumen: Lorem, ipsum dolor sit amet consectetur adipisicing elit.`}
|
||||
</TextCustom>
|
||||
</Grid.Col>
|
||||
{leftIcon && <Grid.Col span={2}>{leftIcon}</Grid.Col>}
|
||||
</Grid>
|
||||
</BaseBox>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user