Skip to content

Commit

Permalink
feat(ui): Change loading spinner back
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Mar 23, 2024
1 parent 7482ce6 commit 500520f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion frontend/src/components/loading/form.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Loader2 } from "lucide-react"

import { cn } from "@/lib/utils"
import { Skeleton } from "@/components/ui/skeleton"

export function FormLoading({
export function SkeletonFormLoading({
numPanels = 10,
className,
}: {
Expand All @@ -19,3 +21,11 @@ export function FormLoading({
</div>
)
}

export function FormLoading() {
return (
<div className="flex h-full w-full flex-col items-center justify-center space-x-2 space-y-2 p-4">
<Loader2 className="mx-auto animate-spin text-gray-500" />
</div>
)
}

0 comments on commit 500520f

Please sign in to comment.