import { ReactElement } from "react"; import { useTranslation } from "react-i18next"; import Button from "@/lib/components/ui/Button"; interface Props extends React.ComponentProps { handleSubmit: (checkDirty: boolean) => Promise; } export const SaveButton = ({ handleSubmit, ...props }: Props): ReactElement => { const { t } = useTranslation(["translation"]); return ( ); };