Feat: The query variable of a loop operator can be a nested array variable. #10866 (#10921)

### 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:
balibabu
2025-11-03 09:40:47 +08:00
committed by GitHub
parent 33371cda11
commit 410c0a829d
5 changed files with 96 additions and 29 deletions

View File

@ -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>