import React from "react"; import { Button, Dialog, DialogActions, DialogContent, LoadingButton, Typography } from "@firecms/ui"; export function DeleteConfirmationDialog({ open, onAccept, onCancel, title, loading, body }: { open: boolean, onAccept: () => void, onCancel: () => void, loading?: boolean, title: React.ReactNode, body?: React.ReactNode, }) { return ( !open ? onCancel() : undefined} > {title} {body} Ok ); }