59 lines
1.5 KiB
TypeScript
59 lines
1.5 KiB
TypeScript
import {
|
|
BaseBox,
|
|
BoxButtonOnFooter,
|
|
ButtonCenteredOnly,
|
|
ButtonCustom,
|
|
CenterCustom,
|
|
InformationBox,
|
|
Spacing,
|
|
StackCustom,
|
|
TextInputCustom,
|
|
ViewWrapper
|
|
} from "@/components";
|
|
import { MainColor } from "@/constants/color-palet";
|
|
import { FontAwesome5 } from "@expo/vector-icons";
|
|
import { router } from "expo-router";
|
|
|
|
export default function InvestmentAddDocument() {
|
|
const buttonFooter = (
|
|
<BoxButtonOnFooter>
|
|
<ButtonCustom onPress={() => router.back()}>Simpan</ButtonCustom>
|
|
</BoxButtonOnFooter>
|
|
);
|
|
|
|
return (
|
|
<>
|
|
<ViewWrapper footerComponent={buttonFooter}>
|
|
<StackCustom gap={"xs"}>
|
|
<InformationBox text="File dokumen bersifat opsional, jika memang ada file yang bisa membantu meyakinkan investor. Anda bisa mengupload nya." />
|
|
<Spacing />
|
|
<TextInputCustom
|
|
label="Judul Dokumen"
|
|
placeholder="Masukan judul dokumen"
|
|
required
|
|
/>
|
|
|
|
<BaseBox>
|
|
<CenterCustom>
|
|
<FontAwesome5
|
|
name="file-pdf"
|
|
size={30}
|
|
color={MainColor.disabled}
|
|
/>
|
|
</CenterCustom>
|
|
</BaseBox>
|
|
|
|
<ButtonCenteredOnly
|
|
icon="upload"
|
|
onPress={() =>
|
|
router.push("/(application)/(image)/take-picture/123")
|
|
}
|
|
>
|
|
Upload
|
|
</ButtonCenteredOnly>
|
|
</StackCustom>
|
|
</ViewWrapper>
|
|
</>
|
|
);
|
|
}
|