import { Button } from "@/components/ui/button"; import { Loader2 } from "lucide-react"; import { MouseEvent } from "react"; interface ServiceFormActionsProps { isSubmitting: boolean; onCancel: () => void; submitLabel?: string; } export function ServiceFormActions({ isSubmitting, onCancel, submitLabel = "Create Service" }: ServiceFormActionsProps) { const handleCancel = (e: MouseEvent) => { e.preventDefault(); if (!isSubmitting) { onCancel(); } }; return (
); }