import type { ReactNode } from 'react'; export interface NotFoundPageProps { title?: string; message?: string; statusCode?: string; backLabel?: string; backHref?: string; onBack?: () => void; className?: string; } export function NotFoundPage({ title = 'Page not found', message = "The page you're looking for doesn't exist or has been moved.", statusCode = '404', backLabel = 'Go Back', backHref, onBack, className = '', }: NotFoundPageProps): ReactNode { return (
{statusCode}

{title}

{message}

{(onBack || backHref) && (backHref ? ( {backLabel} ) : ( ))}
); }