Files
hipmi-mobile/components/Image/LandscapeFrameUploaded.tsx
Bagasbanuna02 60b0befa60 API Job
Add:
- api-client/api-job: kumpulan fetch api

Fix:
- UI beranda , status sudah terintergrasi dengan API
- UI detail status, detail utama sudah terintergrasi dengan API
- Search pada beranda sudah terintegrasi
- Edit sudah terintergrasi

### No Issue
2025-09-16 17:27:58 +08:00

25 lines
523 B
TypeScript

import DUMMY_IMAGE from "@/constants/dummy-image-value";
import { Image } from "react-native";
import BaseBox from "../Box/BaseBox";
export default function LandscapeFrameUploaded({
image,
}: {
image?: string;
}) {
return (
<BaseBox
style={{
height: 250,
width: "100%",
}}
>
<Image
source={image ? { uri: image } : DUMMY_IMAGE.dummy_image}
resizeMode="cover"
style={{ width: "100%", height: "100%", borderRadius: 10 }}
/>
</BaseBox>
);
}