import { CollectionLink } from "../CollectionLink/CollectionLink"; import { AddCollectionLink } from "../AddCollectionLink/AddCollectionLink"; export const CollectionsSection = (props: { sectionTitle?: string; content: any; isMyCollections?: boolean; }) => { return (
{props.sectionTitle && (

{props.sectionTitle}

)}
{props.isMyCollections && } {props.content.map((collection) => { return (
); })} {props.content.length == 1 && !props.isMyCollections &&
}
); };