mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Display the configuration of data flow operators on the node #9869 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
13 lines
316 B
TypeScript
13 lines
316 B
TypeScript
import { cn } from '@/lib/utils';
|
|
import { PropsWithChildren } from 'react';
|
|
|
|
type LabelCardProps = {
|
|
className?: string;
|
|
} & PropsWithChildren;
|
|
|
|
export function LabelCard({ children, className }: LabelCardProps) {
|
|
return (
|
|
<div className={cn('bg-bg-card rounded-sm p-1', className)}>{children}</div>
|
|
);
|
|
}
|