plane/web/layouts/default-layout/index.tsx
2024-01-30 12:16:21 +05:30

15 lines
343 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-neutral-component-surface-light"}`}>
{children}
</div>
);
export default DefaultLayout;