aboutsummaryrefslogtreecommitdiff
path: root/lume/src/_components/LoadingSpinner.jsx
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-02-16 19:44:03 -0800
committerXe Iaso <me@xeiaso.net>2024-02-16 19:44:03 -0800
commit49e1b35ffe12dc5d95a92e1bdb3502d9acd0c487 (patch)
treedcdea2a5f1b98a6235d13a848e6647498f6cc6cf /lume/src/_components/LoadingSpinner.jsx
parentf9b0280a4e2545237b3242c8b913483420640741 (diff)
downloadxesite-49e1b35ffe12dc5d95a92e1bdb3502d9acd0c487.tar.xz
xesite-49e1b35ffe12dc5d95a92e1bdb3502d9acd0c487.zip
lume: promote Chat components
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/_components/LoadingSpinner.jsx')
-rw-r--r--lume/src/_components/LoadingSpinner.jsx12
1 files changed, 12 insertions, 0 deletions
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