import * as React from 'react' import { cn } from '../../lib/utils' export interface ErrorStateProps { title?: string message: string onRetry?: () => void className?: string } export function ErrorState({ title = 'Something went wrong', message, onRetry, className, }: ErrorStateProps) { return (

{title}

{message}

{onRetry && ( )}
) }