mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
13 lines
325 B
TypeScript
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;
|