plane/web/core/layouts/default-layout/index.tsx
2024-06-11 14:39:52 +05:30

13 lines
325 B
TypeScript

import { FC, ReactNode } from "react";
type Props = {
children: ReactNode;
gradient?: boolean;
};
const DefaultLayout: FC<Props> = ({ children, gradient = false }) => (
<div className={`h-screen w-full overflow-hidden ${gradient ? "" : "bg-custom-background-100"}`}>{children}</div>
);
export default DefaultLayout;