import { ChevronRight, FolderOpen, StarIcon } from "lucide-react"; import type { BrowseTreeNode } from "../../browse-tree"; import { Badge } from "./ui/badge"; import { Button } from "./ui/button"; import { Card, CardContent } from "./ui/card"; export function BrowseOverview({ collections, favoriteCollections, onSelectCollection, onToggleFavoriteCollection, }: { collections: BrowseTreeNode[]; favoriteCollections: string[]; onSelectCollection: (collection: string) => void; onToggleFavoriteCollection: (collection: string) => void; }) { return (
{collection.documentCount} indexed docs
Add a collection to populate the workspace tree.