From 49e1b35ffe12dc5d95a92e1bdb3502d9acd0c487 Mon Sep 17 00:00:00 2001
From: Xe Iaso <me@xeiaso.net>
Date: Fri, 16 Feb 2024 19:44:03 -0800
Subject: lume: promote Chat components

Signed-off-by: Xe Iaso <me@xeiaso.net>
---
 lume/src/_components/LoadingSpinner.jsx | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 lume/src/_components/LoadingSpinner.jsx

(limited to 'lume/src/_components/LoadingSpinner.jsx')

diff --git a/lume/src/_components/LoadingSpinner.jsx b/lume/src/_components/LoadingSpinner.jsx
new file mode 100644
index 0000000..826af16
--- /dev/null
+++ b/lume/src/_components/LoadingSpinner.jsx
@@ -0,0 +1,12 @@
+export default function LoadingSpinner() {
+    return (
+        <div
+            class="inline-block mt-2 h-8 w-8 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"
+            role="status"
+        >
+            <span class="!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]">
+                Loading...
+            </span>
+        </div>
+    );
+}
\ No newline at end of file
-- 
cgit v1.2.3

