import { Button } from "@/client/components/ui/button"; import { ErrorBanner } from "@/client/components/ui/error-banner"; interface FormActionsProps { pending: boolean; error?: string | null; onDismissError?: () => void; submitLabel: string; onCancel: () => void; submitDisabled?: boolean; } export const FormActions = ({ pending, error, onDismissError, submitLabel, onCancel, submitDisabled, }: FormActionsProps) => ( <> {error ? : null}
);