plane/apps/app/layouts/DefaultLayout.tsx
2022-11-30 02:21:17 +05:30

22 lines
485 B
TypeScript

import React from "react";
// layouts
import Container from "layouts/Container";
import DefaultTopBar from "layouts/Navbar/DefaultTopBar";
// types
import type { Props } from "./types";
const DefaultLayout: React.FC<Props> = ({ meta, children }) => {
return (
<Container meta={meta}>
<div className="w-full h-screen overflow-auto bg-gray-50">
{/* <DefaultTopBar /> */}
<>{children}</>
</div>
</Container>
);
};
export default DefaultLayout;