mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 05:24:11 +03:00
* use prettier-plugin-tailwindcss to keep class names organized * use prettierrc file to ensure formatting on save works with vscode * classname reorder with prettier-plugin-tailwindcss
12 lines
242 B
TypeScript
12 lines
242 B
TypeScript
import { ReactNode } from "react";
|
|
|
|
type TWrapperProps = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
const Wrapper = ({ children }: TWrapperProps) => {
|
|
return <main className="h-dvh w-screen overflow-hidden">{children}</main>;
|
|
};
|
|
|
|
export default Wrapper;
|