import React from 'react'; import { Button } from '../ui/Button'; interface FormActionsProps { onCancel?: () => void; cancelLabel?: string; submitLabel?: string; isLoading?: boolean; isDisabled?: boolean; className?: string; } export const FormActions: React.FC = ({ onCancel, cancelLabel = 'انصراف', submitLabel = 'ذخیره', isLoading = false, isDisabled = false, className = '', }) => { return (
{onCancel && ( )}
); };