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