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