forked from Github/frigate
* 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;
|