Files
hipmi-mobile/screens/Donation/ComponentInfoFundrising.tsx
Bagasbanuna02 7c82e8b588 Donation:
Fix:
- Edit story & bank account
- List beranda dan detailnya

- Tampilan penggalang dana

### No Issue
2025-10-07 15:52:51 +08:00

54 lines
1.5 KiB
TypeScript

import {
AvatarUsernameAndOtherComponent,
BaseBox,
Grid,
InformationBox,
StackCustom,
TextCustom,
} from "@/components";
import { MainColor } from "@/constants/color-palet";
import { ICON_SIZE_SMALL } from "@/constants/constans-value";
import { Ionicons } from "@expo/vector-icons";
export default function Donation_ComponentInfoFundrising({
dataAuthor,
}: {
dataAuthor: any;
}) {
return (
<>
<BaseBox
href={`/donation/${dataAuthor?.id}/infromation-fundrising`}
style={{ paddingBottom: 0 }}
>
<StackCustom gap={"xs"}>
<Grid>
<Grid.Col span={10}>
<TextCustom bold size="large">
Informasi Penggalang Dana
</TextCustom>
</Grid.Col>
<Grid.Col span={2}>
<Ionicons
name="chevron-forward-circle-outline"
size={ICON_SIZE_SMALL}
color={MainColor.yellow}
style={{
alignSelf: "flex-end",
}}
/>
</Grid.Col>
</Grid>
<AvatarUsernameAndOtherComponent
avatar={dataAuthor?.Profile?.imageId}
name={dataAuthor?.username}
avatarHref={`/profile/${dataAuthor?.Profile?.id}`}
/>
<InformationBox text="Semua dana yang terkumpul akan disalurkan ke penggalang dana, kabar penyaluran dapat dilihat di halaman kabar terbaru." />
</StackCustom>
</BaseBox>
</>
);
}