import type { WidgetTranslations } from '../i18n'; interface ErrorViewProps { message: string; onRetry: () => void; onClose: () => void; t: WidgetTranslations['error']; } export function ErrorView({ message, onRetry, onClose, t }: ErrorViewProps) { return (
{message}
{t.suggestions}