import React from 'react' import GroupDiscoveryCard from './GroupDiscoveryCard' export default function GroupTrendingSection({ title, description, items = [], href = '/groups', actionLabel = 'See more' }) { if (!Array.isArray(items) || items.length === 0) return null return (

{title}

{description ?

{description}

: null}
{actionLabel}
{items.map((group) => )}
) }