import React from 'react' import { ICollectionCard } from './CollectionCard.interface' import { StyledCollectionCards } from './CollectionCard.theme' import Button from '@/components/atoms/Button' import Icon from '@/components/atoms/Icon' import Heading from '@/components/atoms/Heading' const CollectionCards = ({ title, description, backgroundColor, imageElement, type, linkElement, buttonLabel, className }: ICollectionCard) => { const isCover = type === 'cover' return ( {imageElement && imageElement} {!isCover && (
{title} {description}
)} {linkElement && linkElement}
) } export default CollectionCards