import { Award, ChevronRight, LucideIcon } from 'lucide-react'; import { ReactNode } from 'react'; import { Box } from './Box'; import { Button } from './Button'; import { Heading } from './Heading'; import { Icon } from './Icon'; import { Stack } from './Stack'; import { Text } from './Text'; interface LeaderboardPreviewShellProps { title: string; subtitle: string; onViewFull: () => void; children: ReactNode; icon?: LucideIcon; iconColor?: string; iconBgGradient?: string; viewFullLabel?: string; } export function LeaderboardPreviewShell({ title, subtitle, onViewFull, children, icon = Award, iconColor = "#facc15", iconBgGradient = 'linear-gradient(to bottom right, rgba(250, 204, 21, 0.2), rgba(217, 119, 6, 0.1))', viewFullLabel = "View Full Leaderboard", }: LeaderboardPreviewShellProps) { return ( {/* Header */} {title} {subtitle} {/* Compact Leaderboard */} {children} ); }