// [Joshen] Just FYI eventually we're going to move to use toasts // from the UI library, but this is a transition to move everything to // react-hot-toast while we're trying to deprecate mobx entirely import { PropsWithChildren } from 'react' import SparkBar from './SparkBar' interface ToastLoaderProps { progress: number message: string labelTopOverride?: string } export const ToastLoader = ({ progress, message, labelTopOverride, children, }: PropsWithChildren) => { return (
{children}
) }