import React from 'react'; import { LucideIcon, ChevronRight, UserPlus } from 'lucide-react'; import { Box } from '@/ui/Box'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; import { Heading } from '@/ui/Heading'; import { Icon } from '@/ui/Icon'; import { Badge } from '@/ui/Badge'; interface SkillLevelHeaderProps { label: string; icon: LucideIcon; bgColor: string; borderColor: string; color: string; description: string; teamCount: number; recruitingCount: number; isExpanded: boolean; onToggle: () => void; showToggle: boolean; } export function SkillLevelHeader({ label, icon, bgColor, borderColor, color, description, teamCount, recruitingCount, isExpanded, onToggle, showToggle, }: SkillLevelHeaderProps) { return ( {label} {teamCount} {teamCount === 1 ? 'team' : 'teams'} {recruitingCount > 0 && ( {recruitingCount} recruiting )} {description} {showToggle && ( {isExpanded ? 'Show less' : `View all ${teamCount}`} )} ); }