Version: 4.xx.xx
Source Code<AutoSaveIndicator>
<AutoSaveIndicator>
component from refine for Ant Design can be used to communicate auto-save status to the user.
Simple usage is as follows:
import { AutoSaveIndicator, useForm } from "@refinedev/antd";
const MyComponent = () => {
const { autoSaveProps } = useForm({
autoSave: {
enabled: true,
},
});
return (
<AutoSaveIndicator {...autoSaveProps}/>
);
};