import React, { ReactNode } from 'react'; import { Box } from './primitives/Box'; import { Text } from './Text'; import { Surface } from './primitives/Surface'; import { Icon } from './Icon'; import { LucideIcon } from 'lucide-react'; export interface LeaderboardPreviewShellProps { title: string; subtitle?: string; icon: LucideIcon; intent?: 'primary' | 'success' | 'warning' | 'critical' | 'telemetry'; children: ReactNode; footer?: ReactNode; } export const LeaderboardPreviewShell = ({ title, subtitle, icon, intent = 'primary', children, footer }: LeaderboardPreviewShellProps) => { return ( {title} {subtitle && ( {subtitle} )} {children} {footer && ( {footer} )} ); };