mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-07-04 09:20:53 +00:00
- Add ScrollArea and ScrollBar components from ui/scroll-area - Introduce optional isScroll prop (defaults to true) to control scrolling - Maintain backward compatibility with existing usage
21 lines
502 B
TypeScript
21 lines
502 B
TypeScript
import { Suspense } from "react";
|
|
import {
|
|
BotContent,
|
|
BotContentSkeleton,
|
|
} from "@/features/problems/bot/components/content";
|
|
import { PanelLayout } from "@/features/problems/layouts/panel-layout";
|
|
|
|
interface BotPanelProps {
|
|
problemId: string;
|
|
}
|
|
|
|
export const BotPanel = ({ problemId }: BotPanelProps) => {
|
|
return (
|
|
<PanelLayout isScroll={false}>
|
|
<Suspense fallback={<BotContentSkeleton />}>
|
|
<BotContent problemId={problemId} />
|
|
</Suspense>
|
|
</PanelLayout>
|
|
);
|
|
};
|