Files
gridpilot.gg/apps/website/components/leagues/CreateLeagueWizardLayout.tsx
2026-01-19 18:34:01 +01:00

27 lines
611 B
TypeScript

'use client';
import { ReactNode } from 'react';
import { Box } from '@/ui/Box';
import { Stack } from '@/ui/Stack';
import { Container } from '@/ui/Container';
interface CreateLeagueWizardLayoutProps {
children: ReactNode;
header: ReactNode;
progress: ReactNode;
navigation: ReactNode;
footer: ReactNode;
}
export function CreateLeagueWizardLayout({ children, header, progress, navigation, footer }: CreateLeagueWizardLayoutProps) {
return (
<Box as="main" maxWidth="4xl" mx="auto" pb={8}>
{header}
{progress}
{children}
{navigation}
{footer}
</Box>
);
}