2023-10-18 13:47:02 +00:00
|
|
|
import { FC, ReactNode } from "react";
|
|
|
|
// components
|
|
|
|
import { WorkspaceSettingsSidebar } from "./sidebar";
|
|
|
|
|
|
|
|
export interface IWorkspaceSettingLayout {
|
|
|
|
children: ReactNode;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const WorkspaceSettingLayout: FC<IWorkspaceSettingLayout> = (props) => {
|
2023-10-25 10:18:57 +00:00
|
|
|
const { children } = props;
|
2023-10-18 13:47:02 +00:00
|
|
|
|
|
|
|
return (
|
2023-12-10 10:18:10 +00:00
|
|
|
<div className="flex h-full w-full gap-2 overflow-x-hidden overflow-y-scroll">
|
|
|
|
<div className="w-80 flex-shrink-0 overflow-y-hidden pt-8">
|
2023-10-25 10:18:57 +00:00
|
|
|
<WorkspaceSettingsSidebar />
|
|
|
|
</div>
|
|
|
|
{children}
|
|
|
|
</div>
|
2023-10-18 13:47:02 +00:00
|
|
|
);
|
|
|
|
};
|