import { useTranslation } from 'react-i18next';

import SelectionSummaryCard from '@composed-components/audience/SummaryCard';
import { IconUsers } from '@tabler/icons-react';

import { type IndividualSummaryCardProps } from './types';

const IndividualSummaryCard = ({
  onEdit,
  onDelete,
  description,
}: IndividualSummaryCardProps) => {
  const { t } = useTranslation('material_hu_only');

  return (
    <SelectionSummaryCard
      Icon={IconUsers}
      title={t('audience.specific_collaborators_title')}
      description={description}
      onEdit={onEdit}
      onDelete={onDelete}
    />
  );
};

export default IndividualSummaryCard;
