summaryrefslogtreecommitdiff
path: root/src/components/ui/spinner.tsx
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-05-15 10:13:00 +0700
committerpolwex <polwex@sortug.com>2025-05-15 10:13:00 +0700
commitd56594d3289002566f4653d607f0837befd65109 (patch)
treef69685b458419566a78727ce6a8cecd0cdc269a5 /src/components/ui/spinner.tsx
parent04509d9207603d9055cf022051763ec05c9214d6 (diff)
wtf man
Diffstat (limited to 'src/components/ui/spinner.tsx')
-rw-r--r--src/components/ui/spinner.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/ui/spinner.tsx b/src/components/ui/spinner.tsx
new file mode 100644
index 0000000..d1511ad
--- /dev/null
+++ b/src/components/ui/spinner.tsx
@@ -0,0 +1,8 @@
+export const Spinner = ({ className }: { className?: string }) => (
+ <div
+ className={
+ "w-7 h-7 border-[3px] border-transparent border-t-primary rounded-full animate-spin" +
+ ` ${className}`
+ }
+ />
+);