mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-04 06:40:29 +08:00
23 lines
454 B
TypeScript
23 lines
454 B
TypeScript
|
|
import { cn } from '@/lib/utils';
|
||
|
|
import { PropsWithChildren } from 'react';
|
||
|
|
|
||
|
|
type DatasetConfigurationContainerProps = {
|
||
|
|
className?: string;
|
||
|
|
} & PropsWithChildren;
|
||
|
|
|
||
|
|
export function DatasetConfigurationContainer({
|
||
|
|
children,
|
||
|
|
className,
|
||
|
|
}: DatasetConfigurationContainerProps) {
|
||
|
|
return (
|
||
|
|
<div
|
||
|
|
className={cn(
|
||
|
|
'border p-2 rounded-lg bg-slate-50 dark:bg-gray-600',
|
||
|
|
className,
|
||
|
|
)}
|
||
|
|
>
|
||
|
|
{children}
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|