Files
wehub-resource-sync c48612c494
CI / E2E Tests (push) Has been cancelled
CI / Lint, Typecheck & Unit Tests (push) Has been cancelled
Docs Build / Build docs site (push) Has been cancelled
Publish @openmaic packages / Build, validate & publish (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:03:23 +08:00

13 lines
383 B
TypeScript

import { cn } from '@/lib/utils';
import { Panel as PanelPrimitive } from '@xyflow/react';
import type { ComponentProps } from 'react';
type PanelProps = ComponentProps<typeof PanelPrimitive>;
export const Panel = ({ className, ...props }: PanelProps) => (
<PanelPrimitive
className={cn('m-4 overflow-hidden rounded-md border bg-card p-1', className)}
{...props}
/>
);