import { Section } from '@/ui/Section'; import { Layout } from '@/ui/Layout'; import { Text } from '@/ui/Text'; import { Link } from '@/ui/Link'; import Breadcrumbs from '@/components/layout/Breadcrumbs'; interface Tab { label: string; href: string; exact?: boolean; } interface LeagueDetailTemplateProps { leagueId: string; leagueName: string; leagueDescription: string; tabs: Tab[]; children: React.ReactNode; } export function LeagueDetailTemplate({ leagueId, leagueName, leagueDescription, tabs, children, }: LeagueDetailTemplateProps) { return (
{leagueName} {leagueDescription}
{tabs.map((tab) => ( {tab.label} ))}
{children}
); }