bb-plane-fork/web/core/components/profile/profile-setting-content-wrapper.tsx
Prateek Shourya 2014400bed
refactor: move web utils to packages (#7145)
* refactor: move web utils to packages

* fix: build and lint errors

* chore: update drag handle plugin

* chore: update table cell type to fix build errors

* fix: build errors

* chore: sync few changes

* fix: build errors

* chore: minor fixes related to duplicate assets imports

* fix: build errors

* chore: minor changes
2025-06-16 17:18:41 +05:30

30 lines
777 B
TypeScript

"use client";
import React, { FC } from "react";
// helpers
import { cn } from "@plane/utils";
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>
);
};