import { LoraInfoPopover } from './LoraInfoPopover' import type { components } from '../generated/backend-openapi' type Sections = NonNullable export interface SelectedLoraItem { name: string sections?: Sections repoId?: string isCommunity?: boolean } // The "currently selected LoRA(s)" bar shown above the prompt bar — a name + info popover // per item, inline. Used for both the single active IC-LoRA and the list of plain LoRAs. export function SelectedLoraInfo({ items }: { items: SelectedLoraItem[] }) { if (items.length === 0) return null return (
{items.map((it, i) => ( {it.name} ))}
) }