Files
plane/apps/web/core/layouts/default-layout/index.tsx
chuan bba4bb40c8
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
feat: init
2025-11-11 01:56:44 +08:00

17 lines
421 B
TypeScript

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;