import React from 'react'; import { Box } from './Box'; import { Text } from './Text'; import { Stack } from './Stack'; import { Icon } from './Icon'; import { LucideIcon } from 'lucide-react'; interface RaceSidebarPanelProps { title: string; icon?: LucideIcon; children: React.ReactNode; } export function RaceSidebarPanel({ title, icon, children }: RaceSidebarPanelProps) { return ( {icon && } {title} {children} ); }