mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-07-04 09:20:53 +00:00
14 lines
391 B
TypeScript
14 lines
391 B
TypeScript
|
interface PanelLayoutProps {
|
||
|
children: React.ReactNode;
|
||
|
}
|
||
|
|
||
|
export const PanelLayout = ({ children }: PanelLayoutProps) => {
|
||
|
return (
|
||
|
<div className="h-full flex flex-col border border-t-0 border-muted rounded-b-lg bg-background overflow-hidden">
|
||
|
<div className="relative flex-1">
|
||
|
<div className="absolute h-full w-full">{children}</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
);
|
||
|
};
|