import React from "react" import type { Toast } from "react-hot-toast" import Spinner from "../spinner" import ToasterContainer from "../toaster-container" type SavingStateProps = { toast: Toast title?: string message?: string } const SavingState: React.FC = ({ toast, title = "Saving changes", message = "Hang on, this may take a few moments.", }) => { return (
{title} {message}
) } export default SavingState