import { useIntl } from 'react-intl'; import classNames from 'classnames'; import CloseIcon from '@/material-icons/400-24px/close.svg?react'; import { IconButton } from 'mastodon/components/icon_button'; import type { CollectionLockupProps } from 'mastodon/features/collections/components/collection_lockup'; import { CollectionLockup } from 'mastodon/features/collections/components/collection_lockup'; import classes from './collection_preview_card.module.scss'; interface CollectionPreviewCardProps extends CollectionLockupProps { onRemove?: () => void; } export const CollectionPreviewCard: React.FC = ({ collection, onRemove, ...otherProps }) => { const intl = useIntl(); const removeButton = onRemove && ( ); return ( ); };