import { Button, Group } from "@mantine/core"; import { useTranslation } from "react-i18next"; type CommentActionsProps = { onSave: () => void; isLoading?: boolean; onCancel?: () => void; isCommentEditor?: boolean; }; function CommentActions({ onSave, isLoading, onCancel, isCommentEditor, }: CommentActionsProps) { const { t } = useTranslation(); return ( {isCommentEditor && ( )} ); } export default CommentActions;