import React from 'react';
import { UserCardProps, User } from '../types';
import BasicCard from './basic-info';

interface DetailedCardProps extends Omit<UserCardProps, 'user'> {
  user: User;
  shouldShowHoverCard: boolean;
  renderCardContent?: () => React.ReactNode | null;
}

// DetailedCard组件，根据infoType选择不同的卡片组件进行渲染
function DetailedCard({ ...props }: DetailedCardProps) {
  return <BasicCard {...props} />;
}

export default DetailedCard;
