import { Link } from "react-router-dom"; import { ChevronRight, Edit2 } from "lucide-react"; import CollectionIcon from "./CollectionIcon"; export default function CollectionRow({ collection, onEdit }) { return (

{collection.name}

{collection.description && (

{collection.description}

)}
{onEdit && ( )}
); }