diff options
Diffstat (limited to 'lume/src/_components/LoadingSpinner.jsx')
| -rw-r--r-- | lume/src/_components/LoadingSpinner.jsx | 12 |
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 |
