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 ClearChatDialogProps = { isOpen: boolean; onCancel: () => void; onConfirm: () => void; }; export default function ClearChatDialog(props: ClearChatDialogProps) { const { isOpen, onCancel, onConfirm } = props; if (!isOpen) { return null; } return (
Clear Chat History? Are you sure you want to clear the chat? This action cannot be reversed and all messages will be permanently deleted.
); }