import React from "react"; import { type AutoSaveIndicatorProps, useTranslate, AutoSaveIndicator as AutoSaveIndicatorCore, } from "@refinedev/core"; import { Text } from "@mantine/core"; import { IconDots, IconRefresh, IconCircleCheck, IconExclamationCircle, } from "@tabler/icons-react"; export const AutoSaveIndicator: React.FC = ({ status, elements: { success = ( } /> ), error = ( } /> ), loading = ( } /> ), idle = ( } /> ), } = {}, }) => { return ( ); }; const Message = ({ translationKey, defaultMessage, icon, }: { translationKey: string; defaultMessage: string; icon: React.ReactNode; }) => { const translate = useTranslate(); return ( {translate(translationKey, defaultMessage)} {icon} ); };