"use client"; import { Plus } from "lucide-react"; import { useI18n } from "@/i18n/i18n-context"; import type { KnowledgeBase } from "@/types/knowledge-base"; import { MountPicker } from "./mount-picker"; interface AddMountRowProps { kbs: KnowledgeBase[]; onAdd: (kb: KnowledgeBase) => void; } /** * Compact "add another KB" affordance shown beneath the list of already- * mounted KBs. Visually subordinate to the rows above (dashed border, muted * fill) because the user has already crossed the onboarding threshold — the * primary task here is now reading the existing list, not adding more. * * For the zero-mounts onboarding moment use [[MountEmptyState]] instead; * that variant promotes the same picker into the panel's focal point. */ export function AddMountRow({ kbs, onAdd }: AddMountRowProps) { const { t } = useI18n(); if (kbs.length === 0) return null; return ( ); }