mirror of
https://github.com/makeplane/plane.git
synced 2025-12-25 08:09:33 +01:00
* chore: profile setting content header and wrapper component added * chore: profile setting content header and wrapper component added * chore: profile settings layout code refactor
31 lines
788 B
TypeScript
31 lines
788 B
TypeScript
"use client";
|
|
import React, { FC } from "react";
|
|
// helpers
|
|
import { cn } from "@/helpers/common.helper";
|
|
import { SidebarHamburgerToggle } from "../core";
|
|
|
|
type Props = {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
};
|
|
|
|
export const ProfileSettingContentWrapper: FC<Props> = (props) => {
|
|
const { children, className = "" } = props;
|
|
return (
|
|
<div className="flex h-full flex-col">
|
|
<div className="block flex-shrink-0 border-b border-custom-border-200 p-4 md:hidden">
|
|
<SidebarHamburgerToggle />
|
|
</div>
|
|
|
|
<div
|
|
className={cn(
|
|
"vertical-scrollbar scrollbar-md mx-auto h-full w-full flex flex-col px-8 md:px-20 lg:px-36 xl:px-56 py-10 md:py-16",
|
|
className
|
|
)}
|
|
>
|
|
{children}
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|