import { AnimatePresence, motion } from 'framer-motion'; import type { ActionAlert } from '~/types/actions'; import { classNames } from '~/utils/classNames'; interface Props { alert: ActionAlert; clearAlert: () => void; postMessage: (message: string) => void; } export default function ChatAlert({ alert, clearAlert, postMessage }: Props) { const { title, description, content } = alert; return (
{/* Icon */}
{/* Content */}
{title}

We encountered an error while running terminal commands. Would you like Bolt to analyze and help resolve this issue?

{description && (
Error: {description}
)}
{/* Actions */}
); }