FactuGES_ERP/packages/rdx-ui/src/components/right-panel/right-panel.tsx
david c28a5e02c3 feat: add RdxContextPanel and related tests for context management
feat: implement RdxEditor components including layout, section, and sticky footer with tests

feat: introduce RdxFormGrid for form layout management

feat: create RdxPage components for structured page layout with actions and headers

feat: add RdxRowActions for handling row-level actions with dropdown support
2026-08-11 00:01:33 +02:00

22 lines
443 B
TypeScript

import { Card } from "@repo/shadcn-ui/components";
import { cn } from "@repo/shadcn-ui/lib/utils";
import type { RightPanelProps } from "./right-panel-types.ts";
export const RightPanel = ({
open,
className,
children,
...props
}: RightPanelProps) => {
if (!open) {
return null;
}
return (
<Card className={cn("flex h-full min-w-0 flex-col overflow-hidden", className)} {...props}>
{children}
</Card>
);
};