mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 08:03:30 +01:00
21 lines
677 B
TypeScript
21 lines
677 B
TypeScript
export default function Loading() {
|
|
return (
|
|
<div className="mx-4 min-h-screen flex flex-col items-center justify-center gap-4">
|
|
<svg
|
|
className="h-9 w-9 animate-spin text-black dark:text-white"
|
|
fill="none"
|
|
viewBox="0 0 24 24"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<circle className="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" strokeWidth="4" />
|
|
<path
|
|
className="opacity-75 dark:opacity-100"
|
|
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
fill="currentColor"
|
|
/>
|
|
</svg>
|
|
<div className="text-lg font-medium">Loading...</div>
|
|
</div>
|
|
);
|
|
}
|