import type { ReactNode } from 'react' interface BlockProps { title: string message: string action?: ReactNode } export function SplashScreen() { return (

Ski Predictor

Preparando la app

Cargando sesión, preferencias y últimas predicciones.

) } export function LoadingBlock({ title, message }: BlockProps) { return (
) } export function EmptyBlock({ title, message, action }: BlockProps) { return (

{title}

{message}

{action}
) } export function ErrorBanner({ message }: { message: string }) { return
{message}
} export function InfoBanner({ message }: { message: string }) { return
{message}
}