mirror of
https://github.com/alexhopeoconnor/frigate.git
synced 2026-10-19 01:41:31 +10: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>
12 lines
238 B
TypeScript
12 lines
238 B
TypeScript
import { ReactNode } from "react";
|
|
|
|
type TWrapperProps = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
const Wrapper = ({ children }: TWrapperProps) => {
|
|
return <main className="flex flex-col max-h-screen">{children}</main>;
|
|
};
|
|
|
|
export default Wrapper;
|