import DownloadCount from './base/download-count' type Props = { downloadCount?: number tags: string[] } const CardMoreInfo = ({ downloadCount, tags, }: Props) => { return (
{downloadCount !== undefined && } {downloadCount !== undefined && tags && tags.length > 0 &&
ยท
} {tags && tags.length > 0 && ( <>
{tags.map(tag => (
# {tag}
))}
)}
) } export default CardMoreInfo