Donation
Add: - screens/Donation/ - donation/[id]/ Fix: - donation/(tabs)/status.tsx - donation/create-story.tsx - donation/create.tsx ## No Issue
This commit is contained in:
@@ -5,11 +5,13 @@ import { StyleSheet } from "react-native";
|
||||
import ClickableCustom from "../Clickable/ClickableCustom";
|
||||
import { router } from "expo-router";
|
||||
|
||||
export default function DummyLandscapeImage({height}: {height?: number}) {
|
||||
export default function DummyLandscapeImage({height, unClickPath}: {height?: number, unClickPath?: boolean}) {
|
||||
return (
|
||||
<ClickableCustom
|
||||
onPress={() => {
|
||||
router.push("/(application)/(image)/preview-image/1");
|
||||
if (!unClickPath) {
|
||||
router.push("/(application)/(image)/preview-image/1");
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Image source={DUMMY_IMAGE.background} style={[styles.backgroundImage, {height: height || 200}]} />
|
||||
|
||||
Reference in New Issue
Block a user