Fix: portofolio: alert hapus porto Fix: profile create hapus text input alamat & edit ganti select jenis kelamin Fix: menu forum Fix: button porto # No Issue
19 lines
563 B
TypeScript
19 lines
563 B
TypeScript
import { ButtonCustom } from "@/components";
|
|
import { MainColor } from "@/constants/color-palet";
|
|
import { Ionicons } from "@expo/vector-icons";
|
|
|
|
export default function Portofolio_ButtonDelete({
|
|
setShowDeleteAlert,
|
|
}: {
|
|
setShowDeleteAlert: (value: boolean) => void;
|
|
}) {
|
|
const handleDelete = () => {
|
|
setShowDeleteAlert(true);
|
|
};
|
|
return (
|
|
<ButtonCustom textColor={MainColor.white} iconLeft={<Ionicons name="trash-outline" size={20} color="white" />} onPress={handleDelete} backgroundColor={MainColor.red}>
|
|
Hapus
|
|
</ButtonCustom>
|
|
);
|
|
}
|