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