mirror of
https://github.com/r2r90/canvas-label.git
synced 2025-12-24 05:29:25 +00:00
work in progress
This commit is contained in:
15
src/components/layout/layout.tsx
Normal file
15
src/components/layout/layout.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { ReactNode } from "react";
|
||||
import { Sidebar } from "./sidebar";
|
||||
|
||||
type Props = {
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
export const Layout = ({ children }: Props) => {
|
||||
return (
|
||||
<div className="flex h-full ">
|
||||
<Sidebar {} />
|
||||
<main>{children}</main>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user