'use client' import { cn } from '@/lib/utils' type RealtimeFlowOverlayProps = { status: 'syncing' | 'error' message?: string className?: string } const RealtimeFlowOverlay = ({ status, message, className }: RealtimeFlowOverlayProps) => { return (
{status === 'error' ? message || 'Failed to sync flow' : 'Syncing…'}
) } export { RealtimeFlowOverlay }