mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
20 lines
393 B
TypeScript
20 lines
393 B
TypeScript
import React from "react";
|
|
|
|
// layouts
|
|
import Container from "layouts/container";
|
|
|
|
// 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;
|