'use client'; import { SegmentedControl } from '@/ui/SegmentedControl'; import { Icon } from '@/ui/Icon'; import { BarChart3, TrendingUp, User } from 'lucide-react'; import React from 'react'; export type ProfileTab = 'overview' | 'stats' | 'ratings'; interface ProfileTabsProps { activeTab: ProfileTab; onTabChange: (tab: ProfileTab) => void; } export function ProfileTabs({ activeTab, onTabChange }: ProfileTabsProps) { const options = [ { id: 'overview', label: 'Overview', icon: }, { id: 'stats', label: 'Detailed Stats', icon: }, { id: 'ratings', label: 'Ratings', icon: }, ]; return ( onTabChange(id as ProfileTab)} /> ); }