"use client"; import type { ReactNode } from "react"; import { Button, Group } from "@mantine/core"; import { useI18n } from "@homarr/translation/client"; interface ModalFormFooterProps { onCancel: () => void; submitLabel?: string; cancelLabel?: string; loading?: boolean; leftSection?: ReactNode; } const ActionButtons = ({ onCancel, submitLabel, cancelLabel, loading, }: Pick) => { const t = useI18n(); return ( <> ); }; export const ModalFormFooter = ({ onCancel, submitLabel, cancelLabel, loading, leftSection }: ModalFormFooterProps) => { const actionButtons = ( ); if (leftSection) { return ( {leftSection} {actionButtons} ); } return {actionButtons}; };