feat: init
This commit is contained in:
13
apps/web/core/components/settings/layout.tsx
Normal file
13
apps/web/core/components/settings/layout.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
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="w-full h-full min-h-full overflow-y-scroll " ref={ref}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user