import { ArrowLeft, Braces, Bug, CheckCircle2, Save } from "lucide-react"; import { Link } from "react-router-dom"; import { Button } from "@/components/ui/button"; export function EditorToolbar({ dirty, showJson, onShowJson, onSave, onValidate, onDebug, busy, }: { dirty: boolean; showJson: boolean; busy?: boolean; onShowJson: () => void; onSave: () => void; onValidate: () => void; onDebug: () => void; }) { return (
{dirty ? "Unsaved changes" : "Saved"}
); }