diff --git a/frontend/src/components/config/confirm-update.tsx b/frontend/src/components/config/confirm-update.tsx new file mode 100644 index 000000000..62a16779f --- /dev/null +++ b/frontend/src/components/config/confirm-update.tsx @@ -0,0 +1,43 @@ +import { Button } from "@ui/button"; +import { + Dialog, + DialogContent, + DialogFooter, + DialogHeader, + DialogTitle, + DialogTrigger, +} from "@ui/dialog"; +import { Save } from "lucide-react"; +import { useState } from "react"; + +interface ConfirmUpdateProps { + content: string; + onConfirm: () => void; +} + +export const ConfirmUpdate = ({ content, onConfirm }: ConfirmUpdateProps) => { + const [open, set] = useState(false); + return ( + + + + + + + Confirm Update + +
+ New configuration to be applied: +
{content}
+
+ + + +
+
+ ); +};