feat: init
This commit is contained in:
16
apps/web/core/layouts/default-layout/index.tsx
Normal file
16
apps/web/core/layouts/default-layout/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { FC, ReactNode } from "react";
|
||||
import { cn } from "@plane/utils";
|
||||
|
||||
type Props = {
|
||||
children: ReactNode;
|
||||
gradient?: boolean;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
const DefaultLayout: FC<Props> = ({ children, gradient = false, className }) => (
|
||||
<div className={cn(`h-screen w-full overflow-hidden ${gradient ? "" : "bg-custom-background-100"}`, className)}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
export default DefaultLayout;
|
||||
Reference in New Issue
Block a user