import { ReactNode } from 'react'; interface ErrorCardProps { title?: string; children: ReactNode; } export function ErrorCard({ title = 'Error', children }: ErrorCardProps) { return (