Files
plane/web/core/components/settings/layout.tsx
2025-06-03 18:23:54 +05:30

14 lines
361 B
TypeScript

import { useRef } from "react";
import { observer } from "mobx-react";
export const SettingsContentLayout = observer(({ children }: { children: React.ReactNode }) => {
// refs
const ref = useRef<HTMLDivElement>(null);
return (
<div className="md:pt-page-y w-full h-full min-h-full overflow-y-scroll " ref={ref}>
{children}
</div>
);
});