You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
420 B
17 lines
420 B
"use client";
|
|
|
|
import { FC } from "react";
|
|
|
|
import { CircularProgress } from "@nextui-org/progress";
|
|
|
|
export const LoadingPage: FC<{ text?: string }> = ({ text }) => {
|
|
return (
|
|
<div className="flex flex-1 justify-center items-center">
|
|
<div className="flex flex-col gap-2 items-center">
|
|
<CircularProgress aria-label="Loading page..." />
|
|
{text && <p className="text-xl">{text}</p>}
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|