import React from 'react'; // Note for Agent: The '@' alias refers to the target project's src directory. // Ensure src/data/mockData.ts is created before generating this component. import { cardData } from '../data/mockData'; /** * Gold Standard: ActivityCard * This file serves as the definitive reference for the agent. */ interface ActivityCardProps { readonly id: string; readonly username: string; readonly action: 'MERGED' | 'COMMIT'; readonly timestamp: string; readonly avatarUrl: string; readonly repoName: string; } export const ActivityCard: React.FC = ({ username, action, timestamp, avatarUrl, repoName, }) => { const isMerged = action === 'MERGED'; return (
{username} {action} in {repoName}

{timestamp}

); }; export default ActivityCard;