import { DialogTitle } from "@radix-ui/react-dialog"; import { Dialog, DialogContent, DialogHeader } from "./ui/dialog"; import { Button } from "./ui/button"; import { BugIcon } from "lucide-react"; interface ScreenshotSuccessDialogProps { isOpen: boolean; onClose: () => void; handleReportBug: () => Promise; isLoading: boolean; } export function ScreenshotSuccessDialog({ isOpen, onClose, handleReportBug, isLoading, }: ScreenshotSuccessDialogProps) { const handleSubmit = async () => { await handleReportBug(); onClose(); }; return ( Screenshot captured to clipboard! Please paste in GitHub issue. ); }