2022-11-19 14:21:26 +00:00
|
|
|
import React from "react";
|
|
|
|
|
|
|
|
// layouts
|
2022-12-16 16:20:09 +00:00
|
|
|
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;
|