import React from 'react' export default function ModalConfirm(props) { const { isOpen, toggle, onConfirm = () => {} } = props const handleConfirm = () => { onConfirm() toggle() } return (

Hapus Item ?

Ya
Batal
) }