sourcebot/packages/web/src/app/[domain]/components/notFound.tsx
2025-02-12 13:45:12 -08:00

25 lines
No EOL
636 B
TypeScript

import { Separator } from "@/components/ui/separator";
import { cn } from "@/lib/utils";
interface NotFoundProps {
message: string;
className?: string;
}
export const NotFound = ({
message,
className,
}: NotFoundProps) => {
return (
<div className={cn("m-auto", className)}>
<div className="flex flex-row items-center gap-2">
<h1 className="text-xl">404</h1>
<Separator
orientation="vertical"
className="h-5"
/>
<p className="text-sm">{message}</p>
</div>
</div>
)
}