mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-02 02:25:31 +08:00
### What problem does this PR solve? Feat: The query variable of a loop operator can be a nested array variable. #10866 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -61,15 +61,17 @@ export function CardWithForm() {
|
||||
|
||||
type LabelCardProps = {
|
||||
className?: string;
|
||||
} & PropsWithChildren;
|
||||
} & PropsWithChildren &
|
||||
React.HTMLAttributes<HTMLElement>;
|
||||
|
||||
export function LabelCard({ children, className }: LabelCardProps) {
|
||||
export function LabelCard({ children, className, ...props }: LabelCardProps) {
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'bg-bg-card rounded-sm p-1 text-text-secondary text-xs',
|
||||
className,
|
||||
)}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user