mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Put the configuration of different parsing methods into separate components. #5467 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
22
web/src/components/dataset-configuration-container.tsx
Normal file
22
web/src/components/dataset-configuration-container.tsx
Normal file
@ -0,0 +1,22 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user