import React from 'react'; import { motion } from 'framer-motion'; import Typography from '../../ui/Typography'; import { Button } from '../../ui/Button'; import { FiAlertCircle } from 'react-icons/fi'; export type DeleteSessionDialogProps = { sessionId: string | null; onCancel: () => void; onConfirm: (id: string) => void; }; export default function DeleteSessionDialog(props: DeleteSessionDialogProps) { const { sessionId, onCancel, onConfirm } = props; if (!sessionId) { return null; } return (