23 lines
468 B
TypeScript
23 lines
468 B
TypeScript
'use client';
|
|
|
|
import { ReactNode } from 'react';
|
|
import { Container } from '@/ui/Container';
|
|
import { Stack } from '@/ui/Stack';
|
|
import { Box } from '@/ui/Box';
|
|
|
|
interface AdminDashboardLayoutProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
export function AdminDashboardLayout({ children }: AdminDashboardLayoutProps) {
|
|
return (
|
|
<Container size="lg">
|
|
<Box paddingY={8}>
|
|
<Stack gap={8}>
|
|
{children}
|
|
</Stack>
|
|
</Box>
|
|
</Container>
|
|
);
|
|
}
|