evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Build a user profile card component that displays tooltips when hovering over different sections of the card. The tooltips should provide additional information about the user and handle hover interactions properly.
Create a React component that displays a user profile card with the following elements:
Username Section: Display a username with a tooltip that shows when the user joined (e.g., "Member since: January 2024")
Status Badge: Display a status indicator (online/offline/away) with a tooltip explaining the current status
Action Buttons: Display two action buttons:
The tooltips must:
export interface UserProfileCardProps {
username: string;
memberSince: string;
status: 'online' | 'offline' | 'away';
}
export function UserProfileCard(props: UserProfileCardProps): JSX.Element;Provides tooltip components with hover interaction support.