Add:
- Component alert system
- Page collaboration Id

Fix:
- Box base
- Menu drawer dibuatkan interface

# No Issue '
This commit is contained in:
2025-07-23 15:40:53 +08:00
parent 70e324e76e
commit 30d61c84aa
8 changed files with 303 additions and 38 deletions

View File

@@ -0,0 +1,31 @@
import { Alert } from "react-native";
export default function AlertDefaultSystem({
title,
message,
textLeft,
textRight,
onPressLeft,
onPressRight,
}: {
title: string;
message: string;
textLeft: string;
textRight: string;
onPressLeft?: () => void;
onPressRight?: () => void;
}) {
return Alert.alert(title, message, [
{
style: "cancel",
text: textLeft,
onPress: () => onPressLeft?.(),
},
{
style: "default",
text: textRight,
isPreferred: true,
onPress: () => onPressRight?.(),
},
]);
}