import React from 'react'; interface ErrorMessageProps { message: string; onRetry?: () => void; onDismiss?: () => void; className?: string; } export function ErrorMessage({ message, onRetry, onDismiss, className = '', }: ErrorMessageProps) { return (

{message}

{onRetry && ( )} {onDismiss && ( )}
); } interface FullScreenErrorProps { title?: string; message: string; onRetry?: () => void; } export function FullScreenError({ title = 'Something went wrong', message, onRetry, }: FullScreenErrorProps) { return (

{title}

{message}

{onRetry && ( )}
); }