How nakul-jm/-ui-challenge-profile-card works
This is a minimal React/TypeScript UI template, not a connected profile product: the entry point mounts an App that renders “Hello.” A separate reusable ProfileCard component accepts profile data and action callbacks and composes Avatar, Stat, and Button, but the sampled App does not use it. The graph reflects these shown relationships; no broader user workflow or unsampled behavior is assumed.
Main entry points: ProfileCard.tsx Profile card · main.tsx React entry · App.tsx Hello app · Avatar.tsx Avatar
Components 7
Other components
- React entry
src/main.tsx - Hello app
src/App.tsx - Profile card
src/components/ProfileCard.tsx - Avatar
src/components/Avatar.tsx - Stat display
src/components/Stat.tsx - Action button
src/components/Button.tsx - Global styles
src/index.css
Connections 5
- React entry → Hello app: renders
src/main.tsx - React entry → Global styles: imports styles
src/main.tsx - Profile card → Avatar: renders
src/components/ProfileCard.tsx - Profile card → Stat display: renders
src/components/ProfileCard.tsx - Profile card → Action button: renders
src/components/ProfileCard.tsx