'use client'; import { LeagueCard } from '@/components/leagues/LeagueCardWrapper'; import { routes } from '@/lib/routing/RouteConfig'; import type { LeagueDetailViewData } from '@/lib/view-data/LeagueDetailViewData'; import { SharedBox, SharedLink, SharedText, SharedStack, SharedContainer, SharedIcon } from '@/components/shared/UIComponents'; import { ChevronRight } from 'lucide-react'; import { TemplateProps } from '@/lib/contracts/components/ComponentContracts'; export function LeagueDetailTemplate({ viewData, children, tabs }: TemplateProps & { children?: React.ReactNode, tabs?: any[] }) { return ( Leagues {viewData.name} {children} {/* ... rest of the template ... */} ); }