Files
plane/apps/web/core/components/settings/layout.tsx
T

24 lines
536 B
TypeScript

/**
* Copyright (c) 2023-present Plane Software, Inc. and contributors
* SPDX-License-Identifier: AGPL-3.0-only
* See the LICENSE file for details.
*/
import { useRef } from "react";
import { observer } from "mobx-react";
export const SettingsContentLayout = observer(function SettingsContentLayout({
children,
}: {
children: React.ReactNode;
}) {
// refs
const ref = useRef<HTMLDivElement>(null);
return (
<div className="h-full min-h-full w-full overflow-y-scroll" ref={ref}>
{children}
</div>
);
});