import { Group, Stack, Text, ThemeIcon } from '@mantine/core'; import type { Collection } from '@semble/types'; import { BiCollection } from 'react-icons/bi'; interface Props { collection: Collection; } // Its tile and tag set it apart from the link rows it's listed with export default function CollectionOptionRow(props: Props) { const count = props.collection.cardCount; return ( {props.collection.name} @{props.collection.author.handle} ยท {count}{' '} {count === 1 ? 'card' : 'cards'} Collection ); }