upd: profile

Deskripsi:
- ui profile
- ui button right header
- ui alert konfirmasi

No Issues
This commit is contained in:
amel
2025-02-27 12:02:57 +08:00
parent 3372d4df23
commit f7b8c08f20
5 changed files with 149 additions and 7 deletions

View File

@@ -0,0 +1,21 @@
import { Alert } from "react-native";
type Props = {
title: string,
desc: string
onPress: () => void
}
export default function AlertKonfirmasi({ title, desc, onPress }: Props) {
Alert.alert(title, desc, [
{
text: 'Tidak',
style: 'cancel',
},
{
text: 'Ya',
onPress: () => { onPress() }
},
]);
}