Files
ragflow/web/src/pages/agent/canvas/node/node-wrapper.tsx
balibabu efc3caf702 Feat: Modify the anchor point positioning of the classification operator node #3221 (#8299)
### What problem does this PR solve?

Feat: Modify the anchor point positioning of the classification operator
node #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2025-06-17 09:28:30 +08:00

19 lines
395 B
TypeScript

import { cn } from '@/lib/utils';
import { HTMLAttributes, PropsWithChildren } from 'react';
export function NodeWrapper({
children,
className,
}: PropsWithChildren & HTMLAttributes<HTMLDivElement>) {
return (
<section
className={cn(
'bg-background-header-bar p-2.5 rounded-md w-[200px] text-xs',
className,
)}
>
{children}
</section>
);
}