mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 05:24:11 +03:00
* Write a low resolution low fps stream from decoded frames (#8673) * Generate low res low fps previews for recordings viewer * Make sure previews end on the hour * Fix durations and decrase keyframe interval to ensure smooth scrubbing * Ensure minimized resolution is compatible with yuv * Add ability to configure preview quality * Fix * Clean up previews more efficiently * Use iterator * Ensure final frame in preview is not duplicated * initial react/ts framework * fix gitignore glob excluding ts files * ignore folders in web-new * SWRConfig changes for swr 2.x * use frigateConfig type in websocket handlers --------- Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
13 lines
293 B
TypeScript
13 lines
293 B
TypeScript
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>
|
|
);
|
|
}
|