mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 15:06:50 +08:00
### What problem does this PR solve? Feat: Modify the style of the home page in bright mode #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
20 lines
396 B
TypeScript
20 lines
396 B
TypeScript
import { cn } from '@/lib/utils';
|
|
|
|
export function Container({
|
|
children,
|
|
className,
|
|
...props
|
|
}: React.PropsWithChildren<React.HTMLAttributes<HTMLDivElement>>) {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
'px-2 py-1 bg-colors-background-inverse-standard inline-flex items-center rounded-sm gap-2',
|
|
className,
|
|
)}
|
|
{...props}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|