mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-10-13 11:16:29 +02:00
* add scrollbar on ptz presets dropdown
* use cn function for class names throughout
* Revert "add scrollbar on ptz presets dropdown"
This reverts commit 2cee93dc3e
.
14 lines
359 B
TypeScript
14 lines
359 B
TypeScript
import { cn } from "@/lib/utils";
|
|
import { LuLoader2 } from "react-icons/lu";
|
|
|
|
export default function ActivityIndicator({ className = "w-full", size = 30 }) {
|
|
return (
|
|
<div
|
|
className={cn("flex items-center justify-center", className)}
|
|
aria-label="Loading…"
|
|
>
|
|
<LuLoader2 className="animate-spin" size={size} />
|
|
</div>
|
|
);
|
|
}
|