mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
14 lines
346 B
TypeScript
14 lines
346 B
TypeScript
|
"use client";
|
||
|
|
||
|
import { ReactNode } from "react";
|
||
|
|
||
|
export interface ContentWrapperProps {
|
||
|
children: ReactNode;
|
||
|
}
|
||
|
|
||
|
export const ContentWrapper = ({ children }: ContentWrapperProps) => (
|
||
|
<div className="h-full w-full overflow-hidden">
|
||
|
<div className="relative h-full w-full overflow-x-hidden overflow-y-scroll">{children}</div>
|
||
|
</div>
|
||
|
);
|