Files
gridpilot.gg/apps/website/components/races/RaceSidebarPanel.tsx
2026-01-18 22:55:55 +01:00

27 lines
461 B
TypeScript

import { Panel } from '@/ui/Panel';
import { Icon } from '@/ui/Icon';
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 (
<Panel
title={title}
variant="dark"
padding={4}
>
{children}
</Panel>
);
}