diff options
| author | 2026-02-24 22:41:36 +0800 | |
|---|---|---|
| committer | 2026-02-24 22:41:36 +0800 | |
| commit | b275a3668b140d9ce4663de646519d2dbd4297e7 (patch) | |
| tree | 13799773d7d6ef5ac566bbfc4e28ed81798b965b /packages/ui-new/src/components/ui/spinner.tsx | |
| parent | 888f57b6f2ef3b81ba61f4009799f046739ba4dd (diff) | |
| download | DropOut-b275a3668b140d9ce4663de646519d2dbd4297e7.tar.gz DropOut-b275a3668b140d9ce4663de646519d2dbd4297e7.zip | |
refactor: rewrite login and settings pages
Diffstat (limited to 'packages/ui-new/src/components/ui/spinner.tsx')
| -rw-r--r-- | packages/ui-new/src/components/ui/spinner.tsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/ui-new/src/components/ui/spinner.tsx b/packages/ui-new/src/components/ui/spinner.tsx new file mode 100644 index 0000000..91f6a63 --- /dev/null +++ b/packages/ui-new/src/components/ui/spinner.tsx @@ -0,0 +1,10 @@ +import { cn } from "@/lib/utils" +import { Loader2Icon } from "lucide-react" + +function Spinner({ className, ...props }: React.ComponentProps<"svg">) { + return ( + <Loader2Icon role="status" aria-label="Loading" className={cn("size-4 animate-spin", className)} {...props} /> + ) +} + +export { Spinner } |