forked from Github/frigate
12
web/src/components/ui/activity-indicator.tsx
Normal file
12
web/src/components/ui/activity-indicator.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { LuLoader2 } from "react-icons/lu";
|
||||
|
||||
export default function ActivityIndicator({ size = 30 }) {
|
||||
return (
|
||||
<div
|
||||
className="w-full flex items-center justify-center"
|
||||
aria-label="Loading…"
|
||||
>
|
||||
<LuLoader2 className="animate-spin" size={size} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user