frigate/web/src/components/Wrapper.tsx
Josh Hawkins 1757f4cb04
Use prettier-plugin-tailwindcss (#11373)
* 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
2024-05-14 09:06:44 -06:00

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;