import { Button } from '@heroui/button'; import clsx from 'clsx'; import toast from 'react-hot-toast'; import { IoMdRefresh } from 'react-icons/io'; export interface SaveButtonsProps { onSubmit: () => void reset: () => void refresh?: () => void isSubmitting: boolean className?: string } const SaveButtons: React.FC = ({ onSubmit, reset, isSubmitting, refresh, className, }) => (
{refresh && ( )}
); export default SaveButtons;