plane/apps/app/layouts/DefaultLayout.tsx

20 lines
393 B
TypeScript
Raw Normal View History

2022-11-19 14:21:26 +00:00
import React from "react";
// layouts
import Container from "layouts/container";
2022-11-19 14:21:26 +00:00
// 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">
<>{children}</>
</div>
</Container>
);
};
export default DefaultLayout;