Frontend/src/app/components/not-found.tsx

13 lines
274 B
TypeScript
Raw Normal View History

2024-04-16 17:54:22 +01:00
type NotFoundProps = {
message: string;
};
export function NotFound({ message }: NotFoundProps) {
return (
<div className="flex flex-col justify-center text-center">
<h1 className="text-xl text-red-400">Not Found</h1>
<p>{message}</p>
</div>
);
}