plane/app/layouts/default-layout/index.tsx
sriram veeraghanta 1538b99a28 removing trubo
2023-04-21 19:30:36 -04:00

31 lines
630 B
TypeScript

// layouts
import Container from "layouts/container";
type Meta = {
title?: string | null;
description?: string | null;
image?: string | null;
url?: string | null;
};
type Props = {
meta?: Meta;
children: React.ReactNode;
noPadding?: boolean;
bg?: "primary" | "secondary";
noHeader?: boolean;
breadcrumbs?: JSX.Element;
left?: JSX.Element;
right?: JSX.Element;
};
const DefaultLayout: React.FC<Props> = ({ meta, children }) => (
<Container meta={meta}>
<div className="w-full h-screen overflow-auto bg-brand-base">
<>{children}</>
</div>
</Container>
);
export default DefaultLayout;