mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 10:56:28 +00:00
12 lines
620 B
TypeScript
12 lines
620 B
TypeScript
import { FC } from "react";
|
|
|
|
const LazyLoading: FC = () => {
|
|
return (
|
|
<div className='w-full h-32 rounded-2xl z-20 flex justify-center items-center flex-row space-x-3 font-medium'>
|
|
<span className="relative inset-0 inline-flex h-4 w-4 animate-spin items-center justify-center rounded-full border-2 border-zinc-500 dark:border-zinc-400 after:absolute after:h-6 after:w-6 after:rounded-full after:border-2 after:border-y-his dark:after:border-y-his after:border-x-transparent"></span>
|
|
<span className="animate-pulse">Loading...</span>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default LazyLoading |